ToInteger("180.0") → 180
ToInteger("180,7", DecimalSeparator.COMMA) -> 180
We support comma and period decimal separators (period by default). You can use the second parameter to switch to a comma: DecimalSeparator.COMMA.
If an original value contains a decimal part it’s truncated.