share/ColorScheme.class.bak.php
/**
	 * Changes the Fahrenheit temperature into a value between 0 and 255.
	 * 0 is equivalent to the lowest temperature on earth ever, -128 Fahrenheit.
	 * 255 is equivalent to the highest temperature on earth ever, 136 Fahrenheit.
	 * 
	 * @param int $fahrenheit The temperature in degrees F
	 * @return int $dec A decimal between 0 and 255
	 */
Changes the Fahrenheit temperature into a value between 0 and 255.
0 is equivalent to the lowest temperature on earth ever, -128 Fahrenheit.
255 is equivalent to the highest temperature on earth ever, 136 Fahrenheit.

@param int $fahrenheit The temperature in degrees F
@return int $dec A decimal between 0 and 255
Changes the Fahrenheit temperature into a value between 0 and 255 . 0 is equivalent to the lowest temperature on earth ever - 128 Fahrenheit . 255 is equivalent to the highest temperature on earth ever 136 Fahrenheit . @param int $fahrenheit The temperature in degrees F @return int $dec A decimal between 0 and 255
private function calculateHex($fahrenheit)
	{
		$dec = round((255 / 264) * $fahrenheit, 0) + 124;
		return $dec;
	}
private function calculateHex ( $ fahrenheit ) { $ dec = round ( ( 255 / 264 ) * $ fahrenheit , 0 ) + 124 ; return $ dec ; }
Changes the Fahrenheit temperature into a value between 0 and 255.
Changes the Fahrenheit temperature into a value between 0 and 255 .
// -128 - 136 min and max temperature from earth in fahrenheit