Functions: Subtract Function - Wynntils/Wynntils GitHub Wiki

Subtract function

Aliases

  • SUB

Description

Returns the difference of 2 values.

Arguments

This function has 2 required arguments.

  • first (Number) → The number that is to be subtracted from.
  • second (Number) → The number that is to be subtracted.

Schematics

SUBTRACT(<first>; <second>) → (Double)

Example

SUBTRACT(10;8)  2
⚠️ **GitHub.com Fallback** ⚠️