15.02.2013, 13:28
How to approximate a float number when it is read by sscanf?
Number inside file: -819.46,1057.05,29.92
Stored: -819.460021 1057.050048 29.920000
I already tried "2.f" or something similar to specify how much decimal sscanf should take
Number inside file: -819.46,1057.05,29.92
Stored: -819.460021 1057.050048 29.920000
I already tried "2.f" or something similar to specify how much decimal sscanf should take