Expand Minimize

WorksheetFunction.DollarFr Method (Excel)

Converts a dollar price expressed as a decimal number into a dollar price expressed as a fraction. Use DOLLARFR to convert decimal numbers to fractional dollar numbers, such as securities prices.

expression .DollarFr(Arg1, Arg2)

expression A variable that represents a WorksheetFunction object.

Parameters

Name

Required/Optional

Data Type

Description

Arg1

Required

Variant

Decimal_dollar - is a decimal number.

Arg2

Required

Variant

Fraction - the integer to use in the denominator of a fraction.

Return Value

Double

  • If fraction is not an integer, it is truncated.

  • If fraction is less than 0, DOLLARFR returns the #NUM! error value.

  • If fraction is 0, DOLLARFR returns the #DIV/0! error value.

Show:
© 2014 Microsoft