AVOLITES TITAN API

Subtract

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

Namespace: Math

Syntax

MACRO

Void Subtract(System.String, System.Object, System.Object)

HTTP

http://[ip]:4430/titan/script/Math/Subtract

Parameters

result: The property to save the result of the operation in.

x: The value which y is subtracted from.

y: The value to subtract from x.