| Summary: | Exception on MathLib.decimals when variable defined as decimalX decimal = -000000000000.000480; | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | broy2 |
| Component: | EDT | Assignee: | Project Inbox <edt.javascriptgen-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Fixed in 20111121 build. Verified. |
Use EUNIT to run: library decimals function decimalsTest() {@Test} result decimal(18, 6); decimalX decimal = -000000000000.000480; try result = MathLib.decimals(decimalX); onException(oops AnyException) LogResult.failed("Exception"); exit; end LogResult.assertDecimalEqual("decimals", 6, result); end end AnyException [CRRUI2074E] Math error: Could not convert string "d" to a number When I change the definition, the test runs OK. decimalX decimal(18,6); decimalX = -000000000000.000480;