sub method

void sub(
  1. double val
)

Subtract

Implementation

void sub(double val) {
  _val = _val - val;
}