Topic: APLX Help : Help on APL language : System Functions & Variables : ⎕PP Print Precision
[ Previous | Next | Contents | Index | APL Home ]

www.microapl.co.uk

⎕PP Print Precision


The system variable ⎕PP contains the number of digits after the point in the default display of numeric values. The default is 10. ⎕PP can be changed by assignment to a value from 1 to 15. Assigning a larger value will cause the maximum allowed value (15) to be set.

Note: By default, numbers which are represented internally as integers, or which are floating-point numbers which could be repesented internally as exact integers, are displayed in full precision irrespective of ⎕PP. In 32-bit versions of APLX, this applies to all whole numbers whose magnitude is less than 2*31.

In 64-bit versions of APLX, it applies to any number represented internally as an integer, and to any number which is held in floating-point representation and which is exactly equal to an integer of magnitude less than 2*53.


Topic: APLX Help : Help on APL language : System Functions & Variables : ⎕PP Print Precision
[ Previous | Next | Contents | Index | APL Home ]