# Interface: PixiVNJsonArithmeticOperationsArithmetic (/jsdoc/pixi-vn-json/index/interfaces/PixiVNJsonArithmeticOperationsArithmetic)



Defined in: [src/schema/PixiVNJsonArithmeticOperations.ts:8](https://github.com/DRincs-Productions/pixi-vn-json/blob/336c45bc1f677c3b088aac058f0a457afc7cf32e/src/schema/PixiVNJsonArithmeticOperations.ts#L8)

Binary arithmetic operation between two values (left OP right).

Properties [#properties]

leftValue [#leftvalue]

\> **leftValue**: [`PixiVNJsonArithmeticOperations`](/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonArithmeticOperations) | `StorageElementType` | [`PixiVNJsonValueGet`](/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonValueGet) | [`PixiVNJsonConditionalStatements`](/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonConditionalStatements)\<PixiVNJsonArithmeticOperations | StorageElementType | PixiVNJsonValueGet>

Defined in: [src/schema/PixiVNJsonArithmeticOperations.ts:13](https://github.com/DRincs-Productions/pixi-vn-json/blob/336c45bc1f677c3b088aac058f0a457afc7cf32e/src/schema/PixiVNJsonArithmeticOperations.ts#L13)

Left value of the arithmetic operation

***

operator [#operator]

\> **operator**: `"*"` | `"/"` | `"+"` | `"-"` | `"%"` | `"POW"` | `"RANDOM"` | `"INTERSECTION"`

Defined in: [src/schema/PixiVNJsonArithmeticOperations.ts:41](https://github.com/DRincs-Productions/pixi-vn-json/blob/336c45bc1f677c3b088aac058f0a457afc7cf32e/src/schema/PixiVNJsonArithmeticOperations.ts#L41)

Operator of the arithmetic operation:

* `"*"` multiplication
* `"/"` division
* `"+"` addition (concatenation for strings and arrays)
* `"-"` subtraction (removal of elements for arrays)
* `"%"` modulo
* `"POW"` exponentiation
* `"RANDOM"` random integer between leftValue and rightValue (inclusive)
* `"INTERSECTION"` intersection of two arrays (only elements present in both arrays are included in the result)

***

rightValue [#rightvalue]

\> **rightValue**: [`PixiVNJsonArithmeticOperations`](/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonArithmeticOperations) | `StorageElementType` | [`PixiVNJsonValueGet`](/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonValueGet) | [`PixiVNJsonConditionalStatements`](/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonConditionalStatements)\<PixiVNJsonArithmeticOperations | StorageElementType | PixiVNJsonValueGet>

Defined in: [src/schema/PixiVNJsonArithmeticOperations.ts:23](https://github.com/DRincs-Productions/pixi-vn-json/blob/336c45bc1f677c3b088aac058f0a457afc7cf32e/src/schema/PixiVNJsonArithmeticOperations.ts#L23)

Right value of the arithmetic operation

***

type [#type]

\> **type**: `"arithmetic"`

Defined in: [src/schema/PixiVNJsonArithmeticOperations.ts:9](https://github.com/DRincs-Productions/pixi-vn-json/blob/336c45bc1f677c3b088aac058f0a457afc7cf32e/src/schema/PixiVNJsonArithmeticOperations.ts#L9)
