mod method

void mod(
  1. double val
)

modula

Implementation

void mod(double val) {
  _val = _val % val;
}