| Summary: | MathLib.decimals doesn't work | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | broy2 |
| Component: | EDT | Assignee: | Project Inbox <edt.javagen-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jeffdouglas |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
The mathLib.decimals() system function returns the number of decimal places with which a numeric variable was defined. Defined is the key word. Yes, this is true. It's because the BigDecimal is being passed to the function instead of EDecimal. The same problem will exist for MathLib.precision for decimal fields. *** This bug has been marked as a duplicate of bug 359857 *** Dude, you shouldn't mark an earlier defect as a duplicate of a defect you just opened. And let me close my defects even when they're duplicates please. When you close the defect, it doesn't show in my list to verify. So I'm reopening this one so I'll remember to test it when it's fixed. FYI Brenda. When a defect gets marked as a duplicate, it is Bugzilla (and not me) that closes it. Verified in 20111031 build. |
program decimals type BasicProgram {} myVar decimal(18,6); results int; function main() results = MathLib.decimals(myVar); SysLib.writeStdout(results); end end Returns 0. Should return 6.