convert number to char
to_char_number ::=. Purpose. TO_CHAR (number) converts n to a value of VARCHAR2 datatype, using the optional number format fmt. The value n can be of type NUMBER, BINARY_FLOAT, or BINARY_DOUBLE. If you omit fmt, then n is converted to a VARCHAR2 value exactly long enough to hold its significant digits.f you omit 'nlsparam' or any one of the parameters, then this function uses the default parameter values for your session. Examples. The following statement uses implicit conversion to combine a string and a number into a number: Compare this example with the first example for TO_CHAR (character) .