github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/gen/expr/multiply_by_op_doc.yaml (about)

     1  - DocumentID: multiply-by
     2    Title: >-
     3      `*=` Multiply By Operator
     4    CategoryID: parser
     5    Summary: >-
     6      Multiplies a variable by the right hand value (expression)
     7    Description: |-
     8      The Multiply By operator takes the value of the variable specified on the left
     9      side of the operator and multiplies it with the value on the right hand side
    10      Then 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      5
    21      ```
    22    Detail: |-
    23      {{ include "gen/includes/expr-strict-types-assignment.inc.md" }}
    24    Related:
    25    - expr
    26    - multiplication
    27    - subtract-by
    28    - add-with
    29    - divide-by
    30    - int
    31    - float
    32    - num
    33    - config
    34    - cast