Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/sdmx-twg/vtl
Browse files Browse the repository at this point in the history
  • Loading branch information
amattioc committed Apr 5, 2024
2 parents 0105abd + 1b91b93 commit fd32ba3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion v2.1/docs/operators/Addition/content.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ Input parameters
Semantics for scalar operations
------------------------------------
The operator addition returns the sum of two numbers.
For example: `3 + 5` gives `8`.
For example: ::

3 + 5 gives 8

-----------------------------
Input parameters type
Expand Down
4 changes: 3 additions & 1 deletion v2.1/docs/operators/Subtraction/content.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ Input parameters
Semantics for scalar operations
------------------------------------
The operator subtraction returns the difference of two numbers.
For example: `3 - 5` gives `-2`.
For example: ::

3 - 5 gives -2

-----------------------------
Input parameters type
Expand Down
4 changes: 2 additions & 2 deletions v2.1/docs/operators/Unary Plus/content.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Semantics for scalar operations
------------------------------------
The operator + returns the operand unchanged. For example: ::

+3 gives 3
+3 gives 3
+(-5) gives -5

-----------------------------
Expand Down Expand Up @@ -53,4 +53,4 @@ Component" (see the section "Typical behaviours of the ML Operators").
According to the general rules about data types, the operator can be applied also on sub-types of number, that is
the type integer.
If the type of the operand is integer then the result has type integer. If the type of the operand is number then
the result has type number.
the result has type number.

0 comments on commit fd32ba3

Please sign in to comment.