Subject | Truncate a double precision number |
---|---|
Author | Arn |
Post date | 2004-03-26T20:26:16Z |
Hi All.
I am doing some big calculations in Firebird, so I must use double precision
to avoid complains from Firebird.
All fine, but I got results of 13 decimal point.
I NEED this number with only 5 decimals, but without rounding eg:
0.0283276457249 should be 0.02832.
Someone want tell Me ho to truncate withaut rounding?
In UDF I cannot find the right command.
TIA
Ciao
Arnaldo
I am doing some big calculations in Firebird, so I must use double precision
to avoid complains from Firebird.
All fine, but I got results of 13 decimal point.
I NEED this number with only 5 decimals, but without rounding eg:
0.0283276457249 should be 0.02832.
Someone want tell Me ho to truncate withaut rounding?
In UDF I cannot find the right command.
TIA
Ciao
Arnaldo