Hi, I'm wondering if theres a neater way of doing ...
# announcements
a
Hi, I'm wondering if theres a neater way of doing something. All my vars are Floats, I'm using Math.cos which takes and returns a Double, so I do :
Math.cos(angle.toDouble()).toFloat())
which seems a bit icky...