When using the TO_CHAR()
function to format a number in Oracle Database, you can use the B
format element to return blanks for the integer part of a fixed-point number when the integer part is zero.
This works regardless of zeros in the format model.
Continue reading