Jet\Config_Definition_Property_Float

The class represents the property/configuration value definition of the Config::TYPE_FLOAT type. It inherits from class Jet\Config_Definition_Property and has its own methods:

Method Importance
public getMinValue(
): float|null
Returns the minimum allowed value. If not set, it returns null.
public setMinValue(
float $min_value
):void
Sets the minimum allowed value.
public getMaxValue(
): float|null
Returns the maximum allowed value. If not set, it returns null.
public setMaxValue(
float $max_value
):void
Sets the maximum allowed value.
Previous chapter
Jet\Config_Definition_Property_Bool
Next chapter
Jet\Config_Definition_Property_Int