Marc Delisle a écrit :
Herman van Rink a écrit :
Michal Čihař wrote:
- testFormatNumber(PMA_formatNumberByteDown_test) with data set #4
- testFormatNumber(PMA_formatNumberByteDown_test) with data set #5
- testFormatNumber(PMA_formatNumberByteDown_test) with data set #6
These 3 fail me as well, using the data: array(0.00003, 3, 2, '0,03 m'), array(0.003, 3, 3, '0,003 '), array(-0.003, 6, 0, '-3 m'),
Could someone with intimate formatting knowledge take a look at this to determine if PMA_formatNumber() needs fixing, or the testcase?
I'll have a look.
Replacing PMA_pow() by pow() in PMA_formatNumber() removes the failures. Now I'm looking why...