i want to convert number_formated output like 129,888.0 to 1298880 to return function when edit from db.
Thank you
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If
$stringis the number_formatted output, then this will turn it back to a number by removing any non-numeric characters.As an aside, you should really store things un-formatted and just format them when you want to display them.