Get the price has thousands of characters, some decimal point is a comma, ask me how to deal with Ah, calculation can not calculate.
Reply to discussion (solution)
Just replace and empty the comma.
The problem is that the decimal point is comma how to deal with???
is the decimal point a comma?
See for example
Are your thousand and decimal points comma? I'm afraid it's impossible to judge a man's judgment.
How to judge a thousand or a decimal point
European prices are generally comma-decimal
For example: 2,54
and a thousand character.
For example: 1,000
May I ask how I handle it?
In general, there are thousands of characters and few decimal points, not yet seen.
It's either a thousand character or a decimal point.
Mainly European prices are the decimal point, the Japanese price is more than thousands of characters
Didn't you get it? Paste the source address.
of General
1234567.89
Landlord you mean the thousand points, and then set the number of decimal places? Landlord you want should be the use of Number_format.