RoundingInterval - Global

Handles all the details of rounding intervals for CPU speed and RAM size.

Use in any server-side Discovery script.

RoundingInterval - getRoundedValue(Number value)

Returns the value after applying the rounding interval.

Table 1. Parameters
Name Type Description
value Number The value to round off
Table 2. Returns
Type Description
Number The value after rounding

RoundingInterval - RoundingInterval(String type)

Creates an instance of the RoundingInterval class.

Table 3. Parameters
Name Type Description
type String Can be either CPU or RAM.