Do International format (Germany) with 2 decimals in PHP
Description
The following code shows how to do International format (Germany) with 2 decimals.
Example
// w w w .ja v a 2s. co m
<?php
$number = 1234.56;
setlocale(LC_MONETARY,"de_DE");
echo money_format("%.2n", $number);
?>