RoundingInterval - Global

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 1분
  • The RoundingInterval script include provides methods that handle all the details of rounding intervals for CPU speed and RAM size.

    Use in any server-side Discovery script.

    RoundingInterval - RoundingInterval(String type)

    Creates an instance of the RoundingInterval class.

    표 1. Parameters
    Name Type Description
    type String Can be either CPU or RAM.

    RoundingInterval - getRoundedValue(Number value)

    Returns the value after applying the rounding interval.

    표 2. Parameters
    Name Type Description
    value Number The value to round off
    표 3. Returns
    Type Description
    Number The value after rounding