WorksheetFunction.DollarDe (Excel)

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

If fraction is not an integer, it is truncated. If fraction is less than 0, DollarDe returns the #NUM! error value. If fraction is 0, DollarDe returns the #DIV/0! error value.

DollarDe (Arg1, Arg2)


Dim dblDollarDe As Double
dblDollarDe = WorksheetFunction.DollarDe(Arg1:=, Arg2:=)

Arguments

Arg1, Arg2

Arg1 - Fractional_dollar - a number expressed as a fraction

Arg2 - Fraction - the integer to use in the denominator of the fraction