U@FORMATNBR
U@FORMATNBR converts a numeric string to the format of the user's locale.
Module | STRRTNS |
Input |
E@NBRIN (required) E@NBRISNEG (required) (Y or N) E@STRDECSIZE (required) E@LOCALE (the locale associated with the user) |
Output |
E@NBROUT (right justified, zero-suppressed, with a thousand separator and a decimal separator) E@DRERRORVAR |
Error Number
Invalid Number = 25. This usually means the input was not numeric, included a decimal, or was less than the E@STRDECSIZE value, or the E@STRDECSIZE value was less than zero or greater than nine.