Services_Weather_Common::calculateHumidity
Services_Weather_Common::calculateHumidity() –
Calculate humidity from temperature and dewpoint This is only an
approximation, there is no exact formula, this one here is called
Magnus-Formula
Synopsis
require_once '/Weather/Common.php';
float
Services_Weather_Common::calculateHumidity
(
float
$temperature
,
float
$dewPoint
)
Описание
Temperature and dewpoint have to be entered in deg C!
Parameter
-
float
$temperature
-
float
$dewPoint
Throws
No exceptions thrown.
Замечание
This function can not be called statically.