github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/gen/expr/divide_by_op_doc.yaml (about) 1 - DocumentID: divide-by 2 Title: >- 3 `/=` Divide By Operator 4 CategoryID: parser 5 Summary: >- 6 Divides a variable by the right hand value (expression) 7 Description: |- 8 The Divide By operator takes the value of the variable specified on the left 9 side of the operator and divides it by the value on the right hand side. Then 10 it assigns the result back to the variable specified on the left side. 11 12 It is ostensibly just shorthand for `$i = $i / value`. 13 14 This operator is only available in expressions. 15 Examples: |- 16 ``` 17 » $i = 3 18 » $i /= 2 19 » $i 20 1.5 21 ``` 22 Detail: |- 23 {{ include "gen/includes/expr-strict-types-assignment.inc.md" }} 24 Related: 25 - expr 26 - division 27 - subtract-by 28 - multiply-by 29 - add-with 30 - int 31 - float 32 - num 33 - config 34 - cast