The syntax of round() is:
The round() method takes two parameters:
The round() method returns:
# for integers
# for floating point
# even choice
When you run the program, the output will be:
# cannot be represented exactly as float
Here, both numbers result to the same output 2.67, when 2.675 should have been rounded to 2.68.
This isn't a bug but it is because, most decimal numbers cannot be represented exactly as a float.