[Phphtmllib-devel] SF.net SVN: phphtmllib:[3476] trunk/open2300/lib/modules/api/ AviationWeather.in
Status: Beta
Brought to you by:
hemna
|
From: <he...@us...> - 2010-06-16 23:28:58
|
Revision: 3476
http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3476&view=rev
Author: hemna
Date: 2010-06-16 23:28:52 +0000 (Wed, 16 Jun 2010)
Log Message:
-----------
decimals
Modified Paths:
--------------
trunk/open2300/lib/modules/api/AviationWeather.inc
Modified: trunk/open2300/lib/modules/api/AviationWeather.inc
===================================================================
--- trunk/open2300/lib/modules/api/AviationWeather.inc 2010-06-16 23:28:01 UTC (rev 3475)
+++ trunk/open2300/lib/modules/api/AviationWeather.inc 2010-06-16 23:28:52 UTC (rev 3476)
@@ -99,8 +99,8 @@
$diff = abs($left_right);
$p = .0174*$diff;
- $q = round(abs($speed*sin($p)));
- $m = round(abs($speed*cos($p)));
+ $q = round(abs($speed*sin($p)),1);
+ $m = round(abs($speed*cos($p)),1);
$runway["crosswind2"] = $q;
$runway["headwind"] = $m;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|