rouning decimals (1 Viewer)

$lim

Registered User.
Local time
Today, 10:53
Joined
Dec 14, 2004
Messages
21
rounding decimals

I am trying to round decimals to either .5 or 0 right now i have it set to 1 decimal place and it rounds to to the next place. So if a user puts in 1.23 it would round to 1.2 instead of 1.0, is there a simple way to solve this issue?
 
Last edited:

Uncle Gizmo

Nifty Access Guy
Staff member
Local time
Today, 15:53
Joined
Jul 9, 2003
Messages
16,282
Have a search through this forum on "rounding" or "Bankers Rounding" as there have been numerous posts on this issue.
 

Users who are viewing this thread

Top Bottom