Skip to content

Operators

CheryX edited this page Mar 2, 2023 · 1 revision

Operators in KPL are defined as follows:

  • sum - Addition
  • sub - Substraction
  • mul - Multiplication
  • div - Division

Examples:

5 mul 5

// Will throw an error
8 div 0

1 sum 2

Clone this wiki locally