Package ch.nolix.core.math.main
Klasse NumberComparator
java.lang.Object
ch.nolix.core.math.main.NumberComparator
- Version:
- 2024-12-13
- Autor:
- Silvan Wyss
-
Methodenübersicht
-
Methodendetails
-
areEqual
public static boolean areEqual(double value1, double value2) - Parameter:
value1
-value2
-- Gibt zurück:
- true if the given value1 and value2 are equal, false otherwise.
-
isOne
public static boolean isOne(double value) - Parameter:
value
-- Gibt zurück:
- true if the given value is 1.0, false otherwise.
-
isZero
public static boolean isZero(double value) - Parameter:
value
-- Gibt zurück:
- true if the given value is 0.0, false otherwise.
-