Given a decimal fraction representation of a number and the fractional unit used, returns a regular decimal number.
For example, 213.03 might mean 213 and 3/8 or 213 and 3/32, depending on the source data.
CURRENCY_DECIMAL(fractionalprice: Number, unit: Number) => Number
Parameter | Description |
Fractional price | The price quotation given using fractional decimal conventions. |
Unit | The units of the fraction, e.g. 8 for 1/8ths or 32 for 1/32nds |
Formula | Return value |
|
|
|
|
|
|