IntegerPart

Command: IntegerPart


Synopsis
double IntegerPart -> integerpart
File
lib/sli/mathematica.sli
Parameters

The input value must be of type double
the output value is of type double.
Description

In effect sets all digits to the right of the decimal point to
zero. The sign is preserved. The output value is of type integer.
Examples

-2.3 IntegerPart -> -2.0

SeeAlso