DiGrande.it

Blind, Braille and Embossing Technologies

This site uses cookies to personalize content and ads, provide social media features and analyze links. By closing this banner or continuing to browse, you consent to their use.
Read the DiGrande.it Cookie Policy

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)