Matematiska operatorer

Uttryck
Exempel

{{difference x y}}

{{difference 10 formData.value}}

Subtraherar y med x.

{{sum x y}}

{{sum 10 formData.value}}

Adderar x och y.

{{division x y}}

{{division formData.value 4}}

Dividerar x med y.

{{multiplication x y}}

{{multiplication formData.value 4}}

Multiplicerar x och y.

{{remainder x y}}

{{remainder formData.value 4}}

Resten av x dividetat med y.

{{math x "operator" y}}

{{math formData.value1 "+" formData.value2}} Operatorer: [ - ], [ + ], [ * ], [ / ], [ % ]

Utför matematisk operation med två värden.

{{ceil x}}

{{ceil formData.decimalValue}}

Avrundar upp till närmsta heltal.

{{floor x}}

{{floor formData.decimalValue}}

Avrundar ner till närmsta heltal.

{{abs x}}

{{abs formData.value}}

Ger absolutbeloppet av x.

Last updated