$res = 99.87354618113;
printf("%.2f%%", $res );
returns: "99.87%"
Nice!
$res = "100";
printf("%.2f%%", $res );
returns: "100.00%"
Ugly!
Anybody who knows how to make it print 100% instead of 100.00%??
Can I (and how) use number_format()?
Solutions welcomed.