Skip to content

Number — literal

What it does: Represents a numeric value directly in a block (eg 0, 3.14, -10).

number

Allowed values

  • NUMBER: number value (integer or decimal).
  • Only digits 0 to 9 decimal point and minus are allowed

Output

  • NUMBER (float or integer).

When to use it

  • Setting constants, limits, coefficients, etc.

Tips

  • Use a decimal point (3.14) because the generator creates a python numeric literal.
  • A negative number is taken as a signed numeric value in the output, not as text.