Serial.print() by default truncates floats at two decimals.
If you want more control and formatting when converting values to strings for printing, look at the printf(), sprinf() and snprintf() functions.
Serial.print() by default truncates floats at two decimals.
If you want more control and formatting when converting values to strings for printing, look at the printf(), sprinf() and snprintf() functions.