Per forum https://forum.pjrc.com/threads/1227-Teensy3-alternative-for-dtostrf()?p=86671&viewfull=1#post86671teensy4-core
| *p++ = '0'; | *p++ = '0'; | ||||
| *p++ = '.'; | *p++ = '.'; | ||||
| } | } | ||||
| else if (decpt < 0 && precision > 0) { | |||||
| *p++ = '0'; | |||||
| *p++ = '.'; | |||||
| e++; | |||||
| while ( decpt < 0 ) { | |||||
| decpt++; | |||||
| *p++ = '0'; | |||||
| } | |||||
| } | |||||
| while (p < e) { | while (p < e) { | ||||
| *p++ = *s++; | *p++ = *s++; | ||||
| if (p == e) break; | if (p == e) break; |