@NogDogApr 19.2005 — #sorry but what is ther +0.005 about?
is that to round it up?[/QUOTE] Yep. ?
sprintf("%.2f", $value) will round $value to the nearest hundredth, so adding .005 makes sure that it always rounds up. (Possibly adding .00499999 would be better?)