Top "Money-format" questions

money_format is a PHP function that formats a number as a currency string.

PHP: Converting dollars to cents

As input, I want to accept any of the following: "$12.33", "14.92", "$13", "17", "14.00001". As output, I want 1233, 1492, 1300, 1700 and 1400 respectively. This is apparently not …

php casting floating-point money-format
Use php money format and remove the numbers after the decimal place for GBP

I want to format some numbers from my analytics into currency using the GB money format but as its for …

php rounding money-format
PHP money_format function use for multiple currency

I want to use php money_format function from below currency. (INR,USD,EUR,GBP,AUD,CNY,HKD,JPY) In …

php currency money-format
How to replace dot with comma in price format in php

I have a price format like 1.100.000 Now I want to replace all dots with comma so it should look like …

php money-format
If dealing with money in a float is bad, then why does money_format() do it?

I've been waffling on how to deal with currency display and math in PHP, and for a long time have …

php floating-point currency floating-accuracy money-format
Converting number to indian money format

I am trying to convert number to indian money format LIke 100000 = 1,00,000 I have use $explrestunits = "" ; if(strlen($num)>3){ $lastthree = …

php money-format