How do I cut off decimal places in C without rounding?
For example if the number is 4.48
4.48
it will just show 4.4
4.4
%.1f>
float myval = 4.48; float tr = ((int)(myval*10)) / 10.0;