Raised This Month: $ Target: $400
 0% 

Digits of an Integer


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
safetymoose
Senior Member
Join Date: Feb 2015
Old 12-03-2015 , 06:00   Re: Digits of an Integer
Reply With Quote #2

PHP Code:
while(number>10000)
    
number /= 10 // same as number = number / 10 

Last edited by safetymoose; 12-03-2015 at 06:01.
safetymoose is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:52.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode