Lines Matching refs:money_format
2 Test money_format() function : basic functionality using national currency symbols
5 if (!function_exists('money_format')) {
6 die("SKIP money_format - not supported\n");
11 /* Prototype : string money_format ( string $format , float $number )
20 echo "*** Testing money_format() : basic functionality***\n";
29 echo gettype(money_format('%14#8.2n', $value))."\n";
30 echo gettype(money_format('%14#8.2n', $negative_value))."\n";
34 echo gettype(money_format('%(14#8.2n', $value))."\n";
35 echo gettype(money_format('%(14#8.2n', $negative_value))."\n";
39 echo gettype(money_format('%=014#8.2n', $value))."\n";
40 echo gettype(money_format('%=014#8.2n', $negative_value))."\n";
44 echo gettype(money_format('%=*14#8.2n', $value))."\n";
45 echo gettype(money_format('%=*14#8.2n', $negative_value))."\n";
49 echo gettype(money_format('%=*^14#8.2n', $value))."\n";
50 echo gettype(money_format('%=*^14#8.2n', $negative_value))."\n";
54 echo gettype(money_format('%=*!14#8.2n', $value))."\n";
55 echo gettype(money_format('%=*!14#8.2n', $negative_value))."\n";
60 *** Testing money_format() : basic functionality***