Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 40: | Rivi 40: | ||
if ( data ) { | if ( data ) { | ||
jw.obstype[ ot ].sum += data.val; | jw.obstype[ ot ].sum += data.val; | ||
jw.obstype[ ot ].count++; | jw.obstype[ ot ].count++; | ||
jw.obstype[ ot ].mean = jw.obstype[ ot ].sum / jw.obstype[ ot ].count; | jw.obstype[ ot ].mean = jw.obstype[ ot ].sum / jw.obstype[ ot ].count; | ||
} | } | ||


