FORMATPICSIGNDEC Function

Experimental: This functionality is currently experimental and is not yet fully supported. Refer to Experimental Functions.

Returns a number formatted in COBOL signed decimal. The first parameter is the number to be formatted, the second parameter is the PIC format, and the third parameter is the formatted COBOL Signed Decimal number. The fourth parameter returns true if there is an encoding, false if the default for ASCII. The fifth parameter is true for trailing sign orientation, which is the default.

Syntax

integer FORMATPICSIGNDEC(real, string, string[, boolean[, boolean]])