3.5.2.1.43 Int

Description

This function returns the truncated integer of x.

Syntax

int int( double x)

Parameters

x

is the numeric value you want to get the integer.

Return

Returns the truncated integer of x.

Example

int(7.9) = ; //should return 7