subtract method

Subtracts the second DecimalNumber from the first DecimalNumber and returns the difference.

Syntax
DecimalNumber DecimalNumber.subtract(
  DecimalNumber num1,
  DecimalNumber num2
) throws ULjException
Parameters
  • num1   A minuend.

  • num2   A subtrahend.

Returns

The difference between num1 and num2.