Class Math

java.lang.Object
cz.cuni.kubinja.hospitalsystem.util.Math

public class Math extends Object
Custom math util class containing math methods useful across the project (which do not appear inbuild libraries).
  • 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.