11.01.2012, 19:21
new Float:number = 0.01;
printf("%.2f", number);
Results: 0.00
new Float:number = 0.01;
printf("%.3f", number);
Results: 0.009
printf("%.2f", number);
Results: 0.00
new Float:number = 0.01;
printf("%.3f", number);
Results: 0.009