name the function which is used to round off a number to the nearest integer
Answers
Answered by
8
Math.round() is the function which is used to round off a number to the nearest integer
mohak121:
teri maki ch.ut bhag yaha se
Answered by
2
round( ) function in C returns the nearest integer value of the float/double/long double argument passed to this function.If decimal value is from ”.1 to .5″, it returns integer value less than the argument. If decimal value is from “.6 to .9″, it returns the integer value greater than the argument.”math.h” header file supports round( ) function in C language. Syntax for round( )
Similar questions