练10.2 浮点数向零舍入
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
说明
输入一个浮点数,将其向零舍入到整数。说明:向零舍入的含义是,正数向下舍入,负数向上舍入。
输入格式
一个浮点数。
输出格式
一个整数,即向零舍入到整数的结果。
样例
2.32
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
输入一个浮点数,将其向零舍入到整数。说明:向零舍入的含义是,正数向下舍入,负数向上舍入。
一个浮点数。
一个整数,即向零舍入到整数的结果。
2.32
By signing up a 战码少年-战码青少年编程(专业信息学奥赛编程训练) universal account, you can submit code and join discussions in all online judging services provided by us.