Raised This Month: $ Target: $400
 0% 

truncating float to an int


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
MALON
Member
Join Date: Jan 2008
Old 08-19-2008 , 09:53   Re: truncating float to an int
Reply With Quote #3

Thanks Brad, I looked there a thousand times, but it never occurred to me that floatround_down is the same as truncating.

Last Question:

How can I retrieve just the trailing digits? i.e. 125.9925 and get .9925 (or 9925 with no decimal) Sorry, I'm used to the modulo operator and I feel naked without it now.
MALON 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 03:13.


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