Assigns the result of value % other to the variable.
value % other
void mod(num other) => value = (value % other) as T;