Et nul indeni:
SELECT to_char(0,'99999999999999990D99');
-- Second question from the comments: Howto make k-seperator
SELECT to_char (1234567890999999.8,'99 999 999 999 999 990D99');
Her er online-doku:functions (data-type conversion) . Måske kan du lide at downloade det.