| Summary: | Exception on mathLib.round of decimal variable | ||
|---|---|---|---|
| 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 roundDecimal function roundDecimal() {@Test} decimalX decimal(18,6); result decimal(18, 6); decimalX = 000123499999.000000; I int = 6; try result = mathLib.round(decimalX,I); onException(oops AnyException) LogResult.failed("Exception"); exit; end LogResult.assertDecimalEqual("roundDecimal", 000123000000.000000, result); end end When debugging, I see: eglx.javascript.JavaScriptObjectException x.scale is not a function