6.0

Table Of Contents
9
conversion operators PlanetPress Talk provides to convert from one type to another. Thus the following
show command is correct:
show(inttostr(subreccount()))
See “Conversion Operator Functions” on page 46 for a complete list of the operators you can use to convert
from one type to another.
Integers
You use integers for counters and simple calculations. Integers have no decimal precision.
Measures
Measures are real numbers and are often called floating-point numbers. Measures have a precision of
approximately 8 decimal places, with exact precision implementation dependent. If your document
requires complex mathematical computations in which a greater decimal precision is critical, it is
recommended you perform those calculations outside PlanetPress Design and include the result in the
input data.
Currency
Currency is a specific type of measure intended for use with numbers that represent monetary values. The
currency type has a precision of 4 decimal places, and can take on a minimum value of
-99999999999999.9999 and a maximum value of +99999999999999.9999. The only operations you can
perform on a currency type are addition, subtraction, multiplication and division, and negation.
Integer Limit
Smallest on screen -2147483648
Largest on screen +2147483647
Smallest PostScript -2147483648
Largest PostScript +2147483647
Measure Limit
Smallest on screen 1.5 * 10
-45
Largest on screen 3.4 * 10
38
Smallest PostScript 10
-38
Largest PostScript 10
38