Skip to main content

Timeline for Round to first significant digit

Current License: CC BY-SA 4.0

3 events
when toggle format what by license comment
May 21, 2022 at 21:47 comment added Edgar Bonet @Libegria: It's because Serial.print() rounds to nearest, meaning 0.97 would be rounded up to 1.0, but 0.93 would be rounded down to 0.9.
May 21, 2022 at 21:24 comment added Libegria Thank you! Is using the "while(x<0.95)" condition because Serial.print() rounds?
May 19, 2022 at 7:47 history answered Edgar Bonet CC BY-SA 4.0