Arduino Forum
Integer remove digit after dot
Projects
Programming
jremington
October 22, 2017, 3:03pm
18
You should learn to use sprintf().
sprintf(buf,"%03d KM/H",speed); Serial.println(buf);
show post in topic
Related topics
Topic
Replies
Views
Activity
How to split number into GPS coordinates?
Programming
13
7470
May 5, 2021
Limit #'s behind decimal?
General Guidance
20
633
October 11, 2022
Frage zu sprintf() und dtostrf()
Deutsch
12
16432
May 6, 2021
float, double, atof, arduino
Programming
6
24067
May 5, 2021
converting ascii text string to floating point num
Troubleshooting
14
11546
May 6, 2021