I want to changes 49.4  --->       49,4
                            49,4 ---->     49,40

the first rule is done with the code

$totaal=49.4;
$totaal=str_replace(".",",",$totaal);

how can i do the second row??


please help.


greets Ramiro



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to