LibreOffice 7.1 Help
Converts any string or numeric expression to an integer.
CInt (Expression)
Integer
Expression: A numeric expression that you want to convert. If the value of the Expression lies outside the range -32,768 to 32,767, LibreOffice Basic reports an overflow error. To convert a string expression, the number must be entered as normal text ("123.5") using the default number format of your operating system.
This function always rounds the fractional part of a number to the nearest integer.