|
-
May 23rd, 2011, 06:16 PM
#16
Re: floating point number formatting question
Very nice! I didn't know that * is a special symbol. You can probably shrink it down to even 2 lines of code if you consolidate the 'n' variable. And we can probably save some on CPU cycles if we replace second division (nValueMult100 % 100) with (nValueMult100 < 100).
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
|