| Summary: | stringLib.format of numeric returns null | ||
|---|---|---|---|
| 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: | |||
*** Bug 363351 has been marked as a duplicate of this bug. *** Fixed in 20111121 build. Verified. |
This is part of api.systemTypes. Use EUnit to run: library formatSmallInt mySmallInt smallInt; myString string; function formatSmallInt(){@Test} mySmallInt = 1005; try myString = stringLib.format(mySmallInt, "$+***,***"); onException(oops AnyException) LogResult.failed("Exception"); exit; end myString = "$+**1,005"; LogResult.assertStringEqual1("$+**1,005", myString); end end The format returns null. It should return $+**1,005. This is true for all of the numeric types. smallInt int bigInt decimal smallFloat float