Services_Weather_Common::calculateDewPoint()

Services_Weather_Common::calculateDewPoint()  --  Calculate dewpoint from temperature and humidity 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::calculateDewPoint (float $temperature, float $humidity)

Description

Temperature has to be entered in deg C!

Parameter

float $temperature

float $humidity

Throws

No exceptions thrown.

See

see http://www.faqs.org/faqs/meteorology/temp-dewpoint/

Note

This function can not be called statically.