Subtract()

Decimal::Subtract(const Decimal&, const Decimal&) method

Subtracts one specified Decimal value from another.

static Decimal System::Decimal::Subtract(const Decimal &d1, const Decimal &d2)

Arguments

ParameterTypeDescription
d1const Decimal&The minuend.
d2const Decimal&The subtrahend.

Return Value

The result of subtracting d2 from d1.

See Also