int() Function

Rounds the specified number down to the nearest integer.

Syntax

int( number )

number: (Decimal) The number that will be rounded.

Returns

Integer

Examples

int(31.5) returns 31

Open in Github Built: Fri, Jun 03, 2022 (01:08:29 PM)

On This Page

FEEDBACK