Previous Page Next Page Contents

Pref::trailingZeroes -- trailing zeroes when printing floating point numbers

Introduction

Pref::trailingZeroes determines, whether trailing zeroes will be appended, when floating point numbers are printed.

Call(s)

Pref::trailingZeroes(value)
Pref::trailingZeroes( <NIL>)

Parameters

value - TRUE, FALSE or NIL

Returns

the last defined value

Related Functions

DIGITS, Pref::floatFormat, print

Details

Example 1

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

Changes




Do you have questions or comments?


Copyright © SciFace Software GmbH & Co. KG 2000