M Milan Registered User. Local time Today, 08:05 Joined Feb 17, 2002 Messages 85 May 22, 2003 #1 I need to able to round up if > then >0.5 or round down if <0.5 would appreciate your help here!! Milan
I need to able to round up if > then >0.5 or round down if <0.5 would appreciate your help here!! Milan
Mile-O Back once again... Local time Today, 08:05 Joined Dec 10, 2002 Messages 11,305 May 22, 2003 #2 I posted a solution to this on another thread The syntax may be different whether you are doing it in a query or with variables in code, but the principal is the same.
I posted a solution to this on another thread The syntax may be different whether you are doing it in a query or with variables in code, but the principal is the same.
D Dgar007 Guest May 22, 2003 #3 CInt and CLng will round fractions. x = 4.5 y = CInt(x) y now = 4 x = 4.51 y = CInt(x) y now = 5 Hope this helps
CInt and CLng will round fractions. x = 4.5 y = CInt(x) y now = 4 x = 4.51 y = CInt(x) y now = 5 Hope this helps