mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-08 14:58:42 +00:00
3a2fd0b5db
When precision dictates that a number be zero padded, we cannot give sprintf() a negative precision specifier. This commit implements manual negative precision printing of floats, taking into account common rounding errors with floating point numbers. Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com> |
||
---|---|---|
.. | ||
FSTools | ||
HTMLPurifier | ||
PHPT | ||
tmp | ||
CliTestCase.php | ||
common.php | ||
Debugger.php | ||
generate_mock_once.func.php | ||
HTMLPurifierTest.php | ||
index.php | ||
multitest.php | ||
path2class.func.php | ||
test_files.php |