Intensity
in package
Intensity
Table of Contents
Constants
- errorValue = -1
Properties
- $numericValue : float
- $value : string
Methods
- __construct() : mixed
- rawValue() : string
- Get intensity value as added (raw)
- value() : float
- Get numeric intensity value
- convertToNumeric() : float
- Convert intensity string to a numeric value
Constants
errorValue
private
mixed
errorValue
= -1
Properties
$numericValue
private
float
$numericValue
$value
private
string
$value
Methods
__construct()
public
__construct(string $value) : mixed
Parameters
- $value : string
rawValue()
Get intensity value as added (raw)
public
rawValue() : string
Return values
string —Intensity value
value()
Get numeric intensity value
public
value() : float
Return values
float —intensity value
convertToNumeric()
Convert intensity string to a numeric value
private
convertToNumeric(string $value) : float
Parameters
- $value : string
Return values
float —intensity value converted