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


- (float) N: floating point number.


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


// 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