Pref::trailingZeroes
--
trailing zeroes when printing floating point numbersPref::trailingZeroes
determines, whether trailing
zeroes will be appended, when floating point numbers are printed.
Pref::trailingZeroes(value)
Pref::trailingZeroes( <NIL>)
value |
- | TRUE , FALSE or NIL |
the last defined value
DIGITS
, Pref::floatFormat
, print
TRUE
), after the significant numbers of
a floating point number (behind the point) zeroes will be appended
until the number of digits reaches the value of DIGITS
.Pref::trailingZeroes
without arguments will
return the current value. The argument NIL
will reset the default value, which
is FALSE
.By default trailing zeroes will not be displayed:
>> DIGITS:= 10: 1.4
1.4
Display of trailing zeroes will be enabled:
>> Pref::trailingZeroes(TRUE): 1.4
1.400000000