I think Chrisof meant
? ROUND(1.9200000001-0.005,2)
? ROUND(1.9299999999-0.005,2)
I use
? INT(1.9299999999*100)/100
? INT(1.9200000001*100)/100

Kind regards

Andrew Stirling
01250 874580
[email protected]
http://www.calcpay.co.uk
HMRC Accredited UK payroll program

On 25/01/2012 21:29, Christof Wollenhaupt wrote:
>>
>> What is the best way systems round Down ?
>>
>
> ROUND(nValue-0.5, 0)
>
> INT() and FLOOR() both have issues with numbers very close to the boundary
> due to the lack of precision with floating point numbers.
>
> When you say rounding down you might need to check how to handle negative
> values. Some customers say "rounding down" when they actually want to round
> towards zero. In other words, does -4.449 round down to -4.5, or up to
> -4.44.
>
> Christof
>
>
> --- StripMime Report -- processed MIME parts ---
> multipart/alternative
>    text/plain (text body -- kept)
>    text/html
> ---
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to