Class tcUtilNumberOperations

java.lang.Object
com.thortech.xl.util.adapters.tcUtilNumberOperations

public class tcUtilNumberOperations extends Object
This class that has basic number operations utility methods. Author: Solomon Niyazov January 10, 2002.
  • Method Details

    • getRandomNumber

      public static Integer getRandomNumber(Integer poMax) throws Exception
      method that returns random number.
      Parameters:
      poMax - poMax specifies the maximum range (starting from 0).
      Returns:
      Integer randomNumber.
      Throws:
      Exception
    • getRandomNumber

      public static Integer getRandomNumber(int piMax) throws Exception
      method that returns random number.
      Parameters:
      piMax - piMax specifies the maximum range (starting from 0).
      Returns:
      Integer randomNumber.
      Throws:
      Exception