2 Nov
2007
2 Nov
'07
10:52 a.m.
Richard B. Kreckel wrote:
Timo Schlüßler wrote:
how can I change the precision of a numeric? E.g. when I've got a numeric with 10,000 digits and then want that numeric truncated to 10 digits.
Try constructing a numeric representing 1.0 to 10 Digits and multiply your number with that.
-richy.
Thanks, that works, but isn't there a method/another way for truncating? When setting "Digits = 2" for the 1.0 numeric, the result (of multiply) stil has 4 decimal places ...