Does anyone know how to limit the output to 2 decimal spaces ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Does anyone know how to limit the output to 2 decimal spaces ?

Kaleidoscope practice

18th Mar 2022, 11:34 PM
Gabriel Cooper
3 Answers
+ 1
I've been an Avionics tech for over 20 years. The last coding I did was basic in Tech school.
19th Mar 2022, 2:45 AM
Gabriel Cooper
0
Thanx
18th Mar 2022, 11:53 PM
Gabriel Cooper
0
Haha... I forced a round up by *0.004 But I'm more used to coding in C (where you have to create your own hammer before you can build the house 🏠🔨)
19th Mar 2022, 1:12 AM
HungryTradie
HungryTradie - avatar