Question: How to round float number to specified number of digits after comma?

For example, how to round 45.67845 up to 3 digits after comma?

expected answer - 45.678

Please Wait...