Class NumericValue
Constructors
(constructor)(value, unit)
Constructs a new instance of the NumericValue
class
Declaration
constructor(value?: number, unit?: Units);
Parameters
Type |
Name |
Description |
number |
value |
|
Units |
unit |
|
Properties
unit
Declaration
Property Value
value
Declaration
Property Value
Methods
equals(other, tolerance)
Declaration
equals(other: NumericValue, tolerance?: number): boolean;
Parameters
Returns
equals(a, b, tolerance)
Declaration
static equals(a: NumericValue, b: NumericValue, tolerance?: number): boolean;
Parameters
Returns
toString()
Declaration
Returns