Investment Studio > Expressions > Functions > Financial > DOLLARDE
float dollarde(float fractional_dollar, integer denominator)
Returns the decimal number corresponding to the fractional dollar price fractional_dollar.
The part of fractional_dollar to the right of the decimal sign is a fraction of denominator (> 0).
Example
=dollarde(2.06, 16)
and
=dollarde(2.3, 8)
both equal 2.375, while
=dollarde(2.6, 16)
equals 2 + 60 / 16 = 5.75.
See also dollarfr.