Difference between revisions of "Mixly Block Category - Math"

From Microduino Wiki
Jump to: navigation, search
(Number Value)
(Arithmetic Operations)
Line 3: Line 3:
  
 
=Arithmetic Operations=
 
=Arithmetic Operations=
 +
Performs the arithmetic operations and returns that value. Variables can be used to inputs.
 +
* +, -, x, ÷ : add, subtract, multiply, divide. Read more here: https://www.arduino.cc/en/Reference/Arithmetic
 +
* % : modulo. Read more here: https://www.arduino.cc/en/Reference/modulo
 +
* ^ : power. i.e. 2^3 = 2 * 2 * 2 = 8
 +
 
=Trigonometry Function=
 
=Trigonometry Function=
 
=Number Function=
 
=Number Function=

Revision as of 21:08, 15 February 2017

Number Value

Numeric value which can be assigned to a variable or used in function parameters.

Arithmetic Operations

Performs the arithmetic operations and returns that value. Variables can be used to inputs.

Trigonometry Function

Number Function

  • toInt
  • abs
  • sq
  • sqrt
  • log

Max

Random Integer

Constrain

Map