Investment Studio > Expressions > Functions > Financial > DOLLARFR

float dollarfr(float decimal_dollar, integer denominator)

Returns the fractional dollar price corresponding to the decimal number decimal_dollar. The part of the result to the right of the decimal sign is a fraction of denominator (> 0).

Example

=dollarfr(2.375, 16)

equals 2.06

=dollarfr(2.375, 8)

equals 2.3.

See also dollarde.