f
is to specify the value is float
From msdn : By default, a real numeric literal on the right side of the
assignment operator is treated as double. Therefore, to initialize a float
variable, use the suffix f or F
Both declarations are the same. If you want round to five decimal point by using Math.Round()
Math.Round(45.45672234, 5);
Ans : 45.45672