B
Bob Smith
[email protected] said:Hi,
A pice of code.
float A = 10;
float B = 7;
float result;
result = A / B;
when i run this program, i've got as result 1,4285714.... etcetc.
is it possible to get only two or one decimals after the floating point? And how?
Thanks in advance.
Geert
round it
/B