August 2003
Intermediate to advanced
624 pages
15h 3m
English
As noted above, this class is derived from the DataCellReal class developed in Chapter 8. It uses that class's toXML method but provides its own fromXML and prepareOutput methods.
Arguments:
None
Returns:
Error status or throws exception
Trim Spaces
IF Cell Buffer = -0, INF, -INF, or NaN
Return error for unsupported constant in X12 Decimal date type
ENDIF
Convert to uppercase since XML schema language data types allow
a lower case 'e' to indicate the exponent
IF first Character in Cell Buffer = "+"
Cell Buffer <- Shift Cell Buffer left one character to remove
plus sign
Decrement Buffer Length
ENDIF
Return success
|