Function

Math.Min

Void Math.Min(String result, Object x, Object y)
API http://api.avolites.com/10.1/Math.Min.html
description Compares two values and saves the lowest value in a property.
namespace Math
parameter result ( String ) : The property to save the result of the operation in.
x ( Object ) : The value to compare with y.
y ( Object ) : The value to compare with x.
return value Void
Example in

Chase - Double speed:

  <step>Math.Min("Playbacks.Editor.Times.ChaseSpeed", Playbacks.Editor.Times.ChaseSpeed * 2, 3600.0)</step>

This calculates the lower value of (Playbacks.Editor.Times.ChaseSpeed * 2) and 3600.0, and stores the result as string “Playbacks.Editor.Times.ChaseSpeed”.

Also used in
Remarks