A number format model is composed of one or more number format elements. Table 2-13 lists the elements of a number format model. Examples are shown in Table 2-14.
Negative return values automatically contain a leading negative sign
and positive values automatically contain a leading space unless the format
model contains the MI, S, or PR format
element.
Table 2-14 shows the
results of the following query for different values of number
and 'fmt':
SELECT TO_CHAR(number, 'fmt') FROM DUAL;