#P257. 练42.3 浮点数向零舍入
练42.3 浮点数向零舍入
Description
Input a single-precision floating-point number and round it towards zero to an integer. Note: Rounding towards zero means rounding positive numbers down and negative numbers up.
Input Format
A single-precision floating-point number where .
Output Format
An integer, the result of rounding towards zero.
Sample
2.32