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. | ^ [[macros:namespace|namespace]] | [[macros:namespace:math]] | ^ parameter | result ( [[macros:type:string]] ) : The property to save the result of the operation in. | ^ ::: | x ( [[macros:type:object]] ) : The value to compare with y. | ^ ::: | y ( [[macros:type:object]] ) : The value to compare with x. | ^ return value | [[macros:type:void]] | == Example in == [[macros:example:doublechasespeed]]: Math.Min("Playbacks.Editor.Times.ChaseSpeed", Playbacks.Editor.Times.ChaseSpeed * 2, 3600.0) 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 == {{backlinks>.}} == Remarks == ~~DISCUSSION~~