printf("%.2f\n", 1.255); [download]
In reply to Re: Rounding a number using (s)printf by hsinclai in thread Rounding a number using (s)printf by the_slycer