Integer Coercion

INT(<Expression>) - Coerces value of expression to type integer.

INT(4)

Evaluates to 4

INT(4.5)

Evaluates to 4

INT("Hello World")

Evaluates to 0

INT("2")

Evaluates to 2

INT("2.2")

Evaluates 2

INT("3 Blind Mice")

Evaluates to 3

INT("The 3 Blind Mice")

Evaluates to 0

INT("3, 4, 5")

Evaluates to 3

INT(MPOINT(0, 0, 1))

Evaluates to the distance of the point from the origin, in this case 1

INT(MPOINT(3, 4, 5))

Distance evaluates to 7.0711.  This expression evaluates to 7.