Preparing search index...
The search index is not available
node-sht20
node-sht20
Temperature
Class Temperature
Hierarchy
Temperature
Index
Constructors
constructor
Properties
unit
value
Methods
rounded
to
Celsius
to
Fahrenheit
to
Kelvin
Constructors
constructor
new
Temperature
(
value
:
number
, unit
?:
TemperatureUnits
)
:
Temperature
Parameters
value:
number
unit:
TemperatureUnits
= TemperatureUnits.degreeCelsius
Returns
Temperature
Properties
Readonly
unit
unit
:
TemperatureUnits
Readonly
value
value
:
number
Methods
rounded
rounded
(
decimalPlaces
?:
number
)
:
number
Parameters
decimalPlaces:
number
= 1
Returns
number
to
Celsius
to
Celsius
(
)
:
Temperature
Returns
Temperature
to
Fahrenheit
to
Fahrenheit
(
)
:
Temperature
Returns
Temperature
to
Kelvin
to
Kelvin
(
)
:
Temperature
Returns
Temperature
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
node-
sht20
Temperature
constructor
unit
value
rounded
to
Celsius
to
Fahrenheit
to
Kelvin
Generated using
TypeDoc