declare
rs number(8,2);
begin
rs := &Amount_in_digits;
dbms_output.put_line( 'Rupees  '||TO_CHAR(TO_DATE(trunc(rs),'J'),'JSP')|| ' and ' ||
'Paise ' ||
TO_CHAR(TO_DATE(mod(rs,1)*100,'J'), 'JSP') ||
' only');
end;
/
