DiGrande.it
Braille and Technologies for Visual Impairment

Int- Returns the entire part of a number

Function that returns the whole part of a floating point number.

- Int(N): float

Parameters:

- (float) N: floating point number.

Description:

Use the Int function to derive the entire part of a number.

Example:

// N contains the value 1.5

N = 1.5

// Stores in R the whole of N

R = Int(N)

// Shows the variable R, i.e. the integer 1

MsgBox(R)