Subject | Rounding |
---|---|
Author | Robert martin |
Post date | 2004-09-16T22:53:15Z |
Hi
Just wondering how the default rounding works in firebird. If I have a
field that is to 2 decimal places and I try and store a value like 1.126
does Firebird truncate (1.12) or Round (1.13) the value?
If firebird rounds does it use simple (>= 0.005 then round up) or other?
Rob Martin
Software Engineer
phone 03 377 0495
fax 03 377 0496
web www.chreos.com
Wild Software Ltd
Just wondering how the default rounding works in firebird. If I have a
field that is to 2 decimal places and I try and store a value like 1.126
does Firebird truncate (1.12) or Round (1.13) the value?
If firebird rounds does it use simple (>= 0.005 then round up) or other?
Rob Martin
Software Engineer
phone 03 377 0495
fax 03 377 0496
web www.chreos.com
Wild Software Ltd