cathering_
2013-03-26 14:04:13
This question has now been answered.
A simple question, how do you cast from a float (Extended) to an integer in Simba?
Any documentation I've looked over or searched for has not turned up anything on this.
Much appreciated.
Solution: As far as I'm aware, traditional C style casting isn't supported in Simba, so a function must be called. After searching a little more after posting this, I've managed to find an answer to my question - hence me editing this. One can use the traditional functions "Round" or "Floor". I'll be using floor.
Thanks to anyone who beat me to it and answered before my edit.
A simple question, how do you cast from a float (Extended) to an integer in Simba?
Any documentation I've looked over or searched for has not turned up anything on this.
Much appreciated.
Solution: As far as I'm aware, traditional C style casting isn't supported in Simba, so a function must be called. After searching a little more after posting this, I've managed to find an answer to my question - hence me editing this. One can use the traditional functions "Round" or "Floor". I'll be using floor.
Thanks to anyone who beat me to it and answered before my edit.