ReferenceNQE LanguageStandard LibraryintOn this pageintint(number: Float) : Integer Truncates a floating-point number to obtain an integer; e.g., int(2.9) results in 2. If we have a named float x, then we can convert it to an integer by writing int(x). See also Functions float floor ceil round toNumber Types Number