Function ====== Math.Cast.ToInteger ====== Int32 Math.Cast.ToInteger(Object value) ^ API | http://api.avolites.com/11.0/Math.Cast.ToInteger.html | ^ description | Returns an object cast to an integer. An exception will be thrown if the cast is invalid | ^ [[macros:namespace|namespace]] | [[macros:namespace:Math.Cast]] | ^ parameter | value ( [[macros:type:object]] ) : The value to be cast into an integer. | ^ return value | [[macros:type:int32]] | == Example in == [[macros:example:copyicon:]]: Handles.SetIcon(Math.Cast.ToInteger(Handles.GetIconId(handle:"Location=Colours,1,1"))) == Also used in == {{backlinks>.}} == Remarks == ~~DISCUSSION~~