System::Decimal::Subtract method

Decimal::Subtract method

Subtracts one specified Decimal value from another.

static Decimal System::Decimal::Subtract(const Decimal &d1, const Decimal &d2)
ParameterTypeDescription
d1const Decimal&The minuend.
d2const Decimal&The subtrahend.

ReturnValue

The result of subtracting d2 from d1.

See Also