I have a check amount field in the DB. The values stored in the DB for the check amount look like this:
2637.500, 150.000, 7128.000, 1320.310 etc.
I need to format this field to look like this:
00000263750, 00000015000, 00000712800, 00000132031.
Basically, I need to display the check amount field as right justified zero filled, implied decimal point and no negatives.
I tried lpad(trunc(a.check_amt, 0), 11, '0') but this does not display anything after the decimal point.
Please help !
2637.500, 150.000, 7128.000, 1320.310 etc.
I need to format this field to look like this:
00000263750, 00000015000, 00000712800, 00000132031.
Basically, I need to display the check amount field as right justified zero filled, implied decimal point and no negatives.
I tried lpad(trunc(a.check_amt, 0), 11, '0') but this does not display anything after the decimal point.
Please help !