6. Primitive Data Types

The SS primitive data types are:

double precision floating point

All numeric calculations are performed and stored using double precision floating point.

The cast operators, (int) and (long), can be used to truncate an expression to integral form, and the resulting integer will be stored using double precision floating point. Also, ceil, floor, modf, and round are numeric functions involving integral forms.

string

A string is a sequence of characters enclosed in 'single' or "double" quotes. No escape sequences are recognized.

If a string appears in a numeric calculation it is treated as having the value 0.0

constant

The built-in constants are:
HUGE_VAL = Inf
RAND_MAX = 32767
pi = 3.14159
The values of the constants shown are from a Solaris/sparc system and may vary depending on the system. To check the values of the constants use command help or print constants.
Undefined cells are treated as having the value 0.0