This function 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.Syntax:
j = round(i);Example:
float i=5.4, j=5.6;
printf("round of %f is %f\n", i, round(i));
printf("round of %f is %f\n", j, round(j));
round of 5.400000 is 5.000000
round of 5.600000 is 6.000000
Java Enterprise Edition (EE)
Java Standard Edition (SE)
RFC (standard status)
RFC (proposed standard status)
RFC (draft standard status)
RFC (informational status)
RFC (experimental status)
RFC (best current practice status)
RFC (historic status)
RFC (unknown status)
All information of this service is derived from the free sources and is provided solely in the form of quotations.
This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 157 / 159432368. Delta: 0.00300 с