|
-
January 8th, 2008, 10:03 AM
#1
Calculating number of digits?
Hello all, I've ran into a problem in my programming recently.
How do I calculate the number of digits in a double variable? For example, for a double with the value of 93938, I want it to return a value of 5, meaning 5 digits. Is there any inbuilt functions which returns the number of digits of a double variable or do I have to code it myself?
Thanks for the help!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|