PCC supports integral and fractional numbers. They are entered like usual, for example

 1
 42
 17.4
 .99

Integral numbers have 32 bits, and a range of +/-2147483647.

Fractional numbers have 48 bits, with about 10 significant digits and a range of about +/- 10^39. This is the precision used in data files; internally, PCC2 uses 64 bit precision.

Most operations do not care whether their numeric parameters are integral or fractional. Bools automatically convert to numbers, where True converts to 1, False to 0.

Some operations require integer numbers; those are documented as taking parameter type Int.

Commands and Functions taking Num as Parameter

Functions returning Num

Properties of type Num