1
0
mirror of https://github.com/fzaninotto/Faker.git synced 2025-03-22 00:09:59 +01:00

Hyperspace

Latitude goes from 90 degrees south to 90 degrees north.

This crashed my iPhone app a couple of times :)
This commit is contained in:
Djordje Lukic 2013-02-08 10:50:24 +01:00
parent 9fe1a478ad
commit 263bbfd9f4

View File

@ -108,7 +108,7 @@ class Address extends \Faker\Provider\Base
*/
public static function latitude()
{
return number_format(mt_rand(-180000000, 180000000)/1000000, 6);
return number_format(mt_rand(-90000000, 90000000)/1000000, 6);
}
/**