Operator Type:
Operator Scope of Action:
Operator Purpose:
Operator First Added:
Operator Altered:
Operator [other Operator type actions]
Item [operators of similar scope]
Mathematical [other Mathematical operators]
Already in v5.0.0
The division operator, / (forward slash character), returns the argument before it divided by the argument after it.
$MyNumber = 3/4
By default, up to 5 decimal places are returned, so:
$MyNumber = 10/3
results in $MyNumber having a value of 3.33333.
Be aware the forward slash character has many other symbolic meanings (POSIX folder delimiter, linguistic use e.g. 'and/or', date component delimiters, etc.). Be careful to ensure to quote or escape the / character where you do not want Tinderbox to assume a division.