Issue Type: Bug Created: 2008-06-25T08:50:39.000+0000 Last Updated: 2008-09-02T10:39:24.000+0000 Status: Resolved Fix version(s): - 1.6.0 (02/Sep/08)
Reporter: David Persson (davidpersson) Assignee: Thomas Weidner (thomas) Tags: - Zend_Measure
Related issues: Attachments:
When converting one measure to another with a precision higher than 2 the precision doesn't seem to be taken into account and digits after the "." are always zeroed.
$locale = new Zend_Locale('en_US');
$number = new Zend_Measure_Length(12.3456,Zend_Measure_Length::STANDARD,$locale); $number->convertTo('CENTIMETER',4);
changing line 130 in Measure/Abstract.php to: $value = $this->getValue(4); works arround the problem.
Posted by Thomas Weidner (thomas) on 2008-06-26T13:56:45.000+0000
Fixed with r9795
Posted by Wil Sinclair (wil) on 2008-09-02T10:39:24.000+0000
Updating for the 1.6.0 release.
Have you found an issue?
See the Overview section for more details.