round()
Rounts float to intefer.
y = round(x);
x
a float number to be rounded
nearest integer (long integer)
temperatureInt = round(temperatureFloat);
y = round(x);
x
a float number to be rounded
nearest integer (long integer)
temperatureInt = round(temperatureFloat);