AVERAGE

From Smart Box
Revision as of 18:54, 6 October 2023 by Benryves (talk | contribs) (Created page with "== Syntax == AVERAGE == Description == The average function returns the average of the numbers passed to it since the last AVERAGE CLEAR command. == Example == Clear the average accumulator AVERAGE CLEAR Take the average of SENSOR A over 10 readings FOR 10 TIMES AVERAGE SENSOR A NEXT PRINT AVERAGE == Associated keywords == * STORE Category:Reference Category:Procedure")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax[edit]

AVERAGE

Description[edit]

The average function returns the average of the numbers passed to it since the last AVERAGE CLEAR command.

Example[edit]

Clear the average accumulator

AVERAGE CLEAR

Take the average of SENSOR A over 10 readings

FOR 10 TIMES
AVERAGE SENSOR A
NEXT
PRINT AVERAGE

Associated keywords[edit]