Hi all,

Can anyone tell me whether or not the sprintf function existed in php 4.12?
I have the following line:

$order_value=sprintf('%.2f', floatval($quantity)*7.0);

Which works at home on my version 4.2 of php but whne i upload to the server
running 4.12 the script just seems to stop there and go no further? Any
help, advice or pointing to relevant docs would be greatly appreciated.

Cheers From


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to