jlguerra
asked on
how i do a format string field on Oracle Report to number?
Hi experts,
I have a field on Oracle Report and i need format to number a string field, that is the code:
function CF_1FORMULA0045 return Char is
begin
if ((:monto_total)= 0) then
return('');
ELSE
RETURN(SELECT TO_NUMBER(:MONTO_TOTAL) FROM DUAL);
end if;
end;
the field MONTO_TOTAL must be formating to similar this number 12,987,456.89, the problem is what this field is a String Field
I have a field on Oracle Report and i need format to number a string field, that is the code:
function CF_1FORMULA0045 return Char is
begin
if ((:monto_total)= 0) then
return('');
ELSE
RETURN(SELECT TO_NUMBER(:MONTO_TOTAL) FROM DUAL);
end if;
end;
the field MONTO_TOTAL must be formating to similar this number 12,987,456.89, the problem is what this field is a String Field
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.