Mathematical Operations

Hi,
How to make mathematical operations with OB2?
Example: i need to divide @NUMBER for 1000000.
How to make addition, subtraction, multiplication and division?
Thank’s.

Use the Compute block

Ok, but How???
Can you show an example?
Thanj’s.

BLOCK:ConstantString
  value = "5157455254595537373839"
  => VAR @NUMBER
ENDBLOCK

BLOCK:Compute
  input = $"<NUMBER> / 1000000"
  => VAR @computeOutput
ENDBLOCK
2 Likes

Thank’s for your reply.