R/C Fly Log

Go Back   R/C Fly Log > R/C Fly Log > Enchancement requests

Enchancement requests Post here if you wish the Fly Log did something that it doesn't do. We're very eager to add new features.

Reply
 
Thread Tools Display Modes
Old 09-17-2009   #1
TheBum
Junior Member
 
Join Date: Oct 2008
Posts: 10
Default Exclude 0 mAh values from average computations

The subject says it all. I sometimes don't enter a value, especially if I forget to time a flight. Including the 0 values just skews the data.
TheBum is offline   Reply With Quote
Old 09-18-2009   #2
gregt
Administrator
 
Join Date: Aug 2008
Posts: 89
Default

Quote:
Originally Posted by TheBum View Post
The subject says it all. I sometimes don't enter a value, especially if I forget to time a flight. Including the 0 values just skews the data.
I'll double check it, but I'm pretty sure I'm throwing out null and 0 values before averaging.
gregt is offline   Reply With Quote
Old 09-18-2009   #3
gregt
Administrator
 
Join Date: Aug 2008
Posts: 89
Default

Yep. I thought I had thought of that.

select avg(mah) mahs
from flights
where battery_id = $bid
and mah > 0
gregt is offline   Reply With Quote
Old 10-02-2009   #4
TheBum
Junior Member
 
Join Date: Oct 2008
Posts: 10
Default

OK, thanks. I thought that I had some skew on my averages due to the 0 values, but I guess not.
TheBum is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -5. The time now is 02:39 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
(C)opyright 2008, RcFlyLog.com