26. Rounding a float number to specified decimals Consider the following float number and the number of decimals that we…