Class Math
java.lang.Object
cz.cuni.kubinja.hospitalsystem.util.Math
Custom math util class containing math methods useful across the project (which do not appear inbuild libraries).
-
Method Summary
Modifier and TypeMethodDescriptionstatic intnumberOfDigits(int number) Returns number of digits that the number have.
-
Method Details
-
numberOfDigits
public static int numberOfDigits(int number) Returns number of digits that the number have.- Parameters:
number- Number for which we want to know number of digits.- Returns:
- number of digits that the provided number have.
-