You are viewing content for 5.1 | 5.0 | 4.9 | 4.8 | 4.7 | 4.6 | 4.5 | 4.4 | 4.3 | Previous Releases


int

Returns an int from a double.

Example

Convert the double 2306.77 into an int.

int(2306.77)

Syntax

int(double expr x)
  • x : expression evaluating to double

    Returns

    int

Notes

Converts a double expression into an int, truncating the fractional amount.


© Incorta, Inc. All Rights Reserved.