Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / 1+1=turkey? Float in equation pain in the butt prob in dbp

Author
Message
Nul error
19
Years of Service
User Offline
Joined: 12th Aug 2005
Location:
Posted: 7th Feb 2006 00:54
Im trying to get the output of to round up if the number is like over 0.01 but due to float (my arc villan) its rounding up a number which should not to.
for example should be
7 to 2
8 to 2
9 to 3

but its
7 to 2
8 to 3
9 to 3

General Sephiro
19
Years of Service
User Offline
Joined: 27th Sep 2004
Location:
Posted: 7th Feb 2006 05:16 Edited at: 7th Feb 2006 05:28
(edit) oh wel i was beatn to the punch if only i was able to understand what he wanted T_T
*Pats re faze on the head*

re faze
19
Years of Service
User Offline
Joined: 24th Sep 2004
Location: The shores of hell.
Posted: 7th Feb 2006 05:23
try this


Nul error
19
Years of Service
User Offline
Joined: 12th Aug 2005
Location:
Posted: 7th Feb 2006 23:52
thx seems to be working. odd I tried that last eariler before I posted and I got differnt results. Gotta love computers

Login to post a reply

Server time is: 2024-09-24 15:35:52
Your offset time is: 2024-09-24 15:35:52