AVOLITES TITAN API

Subtract

Subtracts two values from each other and saves the result in a property.

Namespace: Math

Syntax

MACRO

Void Math.Subtract(String result, Object x, Object y)

HTTP

http://[ip]:4430/titan/script/2/Math/Subtract?result={string}&x={}&y={}

Parameters

result ( String ) : The property to save the result of the operation in.

x ( Object ) : The value which y is subtracted from.

y ( Object ) : The value to subtract from x.