WorksheetFunction.DollarDe(Object, Object) Method

Definition

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.

public:
 double DollarDe(System::Object ^ Arg1, System::Object ^ Arg2);
public double DollarDe (object Arg1, object Arg2);
Public Function DollarDe (Arg1 As Object, Arg2 As Object) As Double

Parameters

Arg1
Object

Fractional_dollar - is a number expressed as a fraction.

Arg2
Object

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

Returns

Remarks

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.

Applies to