Library "MathOperator"
Methods to handle operators.
add(value_a, value_b) Add value a to b.
Parameters:
subtract(value_a, value_b) subtract value b from a.
Parameters:
multiply(value_a, value_b) multiply value a with b.
Parameters:
divide(value_a, value_b) divide value a with b.
Parameters:
remainder(value_a, value_b) remainder of a with b.
Parameters:
equal(value_a, value_b) equality of value a with b.
Parameters:
not_equal(value_a, value_b) inequality of value a with b.
Parameters:
over(value_a, value_b) value a is over b.
Parameters:
under(value_a, value_b) value a is under b.
Parameters:
over_equal(value_a, value_b) value a is over equal b.
Parameters:
under_equal(value_a, value_b) value a is under equal b.
Parameters:
and_(value_a, value_b) logical and of a with b
Parameters:
or_(value_a, value_b) logical or of a with b.
Parameters:
Methods to handle operators.
add(value_a, value_b) Add value a to b.
Parameters:
- value_a: float, value a.
- value_b: float, value b.
subtract(value_a, value_b) subtract value b from a.
Parameters:
- value_a: float, value a.
- value_b: float, value b.
multiply(value_a, value_b) multiply value a with b.
Parameters:
- value_a: float, value a.
- value_b: float, value b.
divide(value_a, value_b) divide value a with b.
Parameters:
- value_a: float, value a.
- value_b: float, value b.
remainder(value_a, value_b) remainder of a with b.
Parameters:
- value_a: float, value a.
- value_b: float, value b.
equal(value_a, value_b) equality of value a with b.
Parameters:
- value_a: float, value a.
- value_b: float, value b.
not_equal(value_a, value_b) inequality of value a with b.
Parameters:
- value_a: float, value a.
- value_b: float, value b.
over(value_a, value_b) value a is over b.
Parameters:
- value_a: float, value a.
- value_b: float, value b.
under(value_a, value_b) value a is under b.
Parameters:
- value_a: float, value a.
- value_b: float, value b.
over_equal(value_a, value_b) value a is over equal b.
Parameters:
- value_a: float, value a.
- value_b: float, value b.
under_equal(value_a, value_b) value a is under equal b.
Parameters:
- value_a: float, value a.
- value_b: float, value b.
and_(value_a, value_b) logical and of a with b
Parameters:
- value_a: bool, value a.
- value_b: bool, value b.
or_(value_a, value_b) logical or of a with b.
Parameters:
- value_a: bool, value a.
- value_b: bool, value b.
發布通知:
v2 Added method prefix to functions.