Annotation of embedaddon/php/ext/standard/tests/math/bug28228.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Bug #28228 (number_format() does not allow empty decimal separator)
3: --FILE--
4: <?php
5: echo number_format(1234.5678, 4, '', '') . "\n";
6: echo number_format(1234.5678, 4, NULL, ',') . "\n";
7: echo number_format(1234.5678, 4, 0, ',') . "\n";
8: echo number_format(1234.5678, 4);
9: ?>
10: --EXPECT--
11: 12345678
12: 1,234.5678
13: 1,23405678
14: 1,234.5678
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>