Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Get integer value from a variable — Gideros Forum

Get integer value from a variable

somezombiegmsomezombiegm Member
edited September 2014 in Code snippets
Sorry for the noob question, but how can I get the integer value from a variable? For example:
local division = 123.866/60
The result throws 2.0644333333333. So how do I remove the floating part so the result would be 2?

Comments

Sign In or Register to comment.