#AT1965. A - Round decimals
A - Round decimals
当前没有测试数据。
A - Round decimals
Score : $100$ points
Problem Statement
You are given a real number $X$, which is representable using at most three decimal digits, with three decimal digits.
Round $X$ to the nearest integer and print the result.
Constraints
- $0 \leq X < 100$
- $X$ is representable using at most three decimal digits.
- $X$ has three decimal digits in input.
Input
Input is given from Standard Input in the following format:
Output
Print the integer resulting from rounding $X$ to the nearest integer.
3.456
3
The digit in the first decimal place of $3.456$ is $4$, so we should round it down to $3$.
99.500
100
0.000
0