Question: Its one homework . Program: Function floor (found in the math library) may be used to round a number to a specific decimal place. The

 Its one homework . Program: Function floor (found in the math
library) may be used to round a number to a specific decimal
place. The statement: y= floor (x * 10 + .5) / 10;
Its one homework .

Program: Function floor (found in the math library) may be used to round a number to a specific decimal place. The statement: y= floor (x * 10 + .5) / 10; rounds x to the tenths position (the first position to the right of the decimal place. The statement y = floor(x100+.5) / 100; rounds x to the hundredths position (2nd to the right of decima place). you oor 1005)/ More on next slide

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!