Issue Type: Bug Created: 2007-11-29T08:32:08.000+0000 Last Updated: 2008-03-21T16:25:43.000+0000 Status: Resolved Fix version(s): - 1.5.0 (17/Mar/08)
Reporter: Alexis von Glasow (avg) Assignee: Thomas Weidner (thomas) Tags: - Zend_Measure
Related issues: Attachments:
When, i try to convert any unit to or from "micromole per day", i see only the unit "µmol/day" and nothing before this string.
In file Zend/Measure/Flow/Mole.php line 73 we can see "'MICROMOLE_PER_DAY' => array(array('' => 0.000001, '/' => 86400), 'µmol/day')," If i try to convert 1 MICROMOLE_PER_DAY into MICROMOLE_PER_DAY, there should be have the result 1 but i got this string "µmol/day"
For few test, i have change the value 0.000001 into 0.001 and with this value i got a result. For me, there would be a problem with rounded value or something like that.
Posted by Thomas Weidner (thomas) on 2007-11-30T16:16:18.000+0000
Fixed with SVN-7701.
But you will almost never get the same output because there are always rounding errors and the result depends on the given precision.
Also the internal precision is fixed with 25. So you will never get a result where a precision higher than 25 is recommended.
Have you found an issue?
See the Overview section for more details.