Getting length of an integer?
#2

If I understood good, you want to make random phone numbers starting with 1000000 to 9999999? If yes
num=1000000+random(9000000); EXPLANATION: min_num =1000000+0, max_num = 1000000+9999999=9999999
Reply


Messages In This Thread
Getting length of an integer? - by jameskmonger - 11.07.2011, 21:46
Re: Getting length of an integer? - by Roko_foko - 11.07.2011, 22:00
Re: Getting length of an integer? - by jameskmonger - 11.07.2011, 22:01
Re: Getting length of an integer? - by Macluawn - 11.07.2011, 22:06
Re: Getting length of an integer? - by Shadoww5 - 11.07.2011, 22:07
Re: Getting length of an integer? - by jameskmonger - 11.07.2011, 22:11
Re: Getting length of an integer? - by Jefff - 11.07.2011, 22:15
Re: Getting length of an integer? - by RyDeR` - 11.07.2011, 22:17
Re: Getting length of an integer? - by Shadoww5 - 12.07.2011, 01:52
Re: Getting length of an integer? - by Calgon - 12.07.2011, 03:08

Forum Jump:


Users browsing this thread: 1 Guest(s)