Problem with converting from string to number

Jetbavecath

New Member
I have a variable $totalprice with number 1,072.00.If I use int($totalprice) or number_format($totalprice), it outputs 1.00.How can I solve this problem? I want 1072.00
 
Back
Top