View Single Post
  #10   Report Post  
Old December 29th 12, 11:18 PM posted to uk.sci.weather
Freddie Freddie is offline
external usenet poster
 
First recorded activity by Weather-Banter: Aug 2011
Posts: 925
Default The Weather "Means" rule and spreadsheets

On Sat, 29 Dec 2012 22:27:22 -0000, Alan LeHun wrote:
10.12 10.1
10.19 10.1
10.22 10.3
10.26 10.3
10.15 10.1
10.25 10.3


That's not quite right. 10.12 - 10.1 is ok, but 10.19 - 10.2, 10.22
- 10.2. The last 3 are ok too. The "different" behaviour occurs at
the mid-point between 10ths i.e. 10.05, 10.15, 10.25, etc. This is
where "throwing to the odd occurs (if you are measuring to the
nearest 10th). 10.05 - 10.1, 10.15 - 10.1, 10.25 - 10.3, 10.35 -
10.3 and so on. In Java you can do this type of rounding - but I
can't remember either what the "name" of this rounding is, nor which
package the rounding functions are in. I will look them both up in
the morning.

--
Freddie
Bayston Hill
Shropshire
102m AMSL
http://www.hosiene.co.uk/weather/
https://twitter.com/#!/BaystonHillWx*for hourly reports*