INSERT_CURRENCY_UDF
Definition
Insert the specified currency text at the given position in the number, or before the first digit to avoid leaving blanks or the number sign between the currency and the number.
Parameters
INPUT
VARCHAR
The result of the TO_CHAR(Numeric) that needs the currency inserted.
CURRENCYINDEX
INTEGER
The index to insert the currency at.
CURRENCYVALUE
VARCHAR
The text that will be inserted as currency.
Returns
A varchar
which has the currency text at a specific position.
Usage example
Input:
Output:
Last updated