KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
how to extract a number with decimal (dot and comma) from a string (e.g. 1,120.01) ? I have a regex but doesn't seem to play well with commas preg_match('/([0-9]+\.[0-9]+)/', $s, $matches);
Tags (comma-separated)
Save Edits
Cancel