2927: floor 函数专题(向下取整)
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:13
Solved:9
Description
编写一个程序,输入一个双精度浮点数,使用 floor 函数对其进行向下取整,并输出结果。
Input
一个双精度浮点数 x(范围:-10^4 ≤ x ≤ 10^4)。
Output
一个整数,表示 x 向下取整的结果。
Sample Input Copy
3.9
Sample Output Copy
3
HINT
输入浮点数 x 的绝对值不超过 10000。