dalexander
06/12/2018, 1:03 PMInt
and Double
or whatever. When doing math I frequently want a .i
extension val which is a "cast-to-int" call. Usable like someByte.i
, which keeps the casting from being too distracting in a bunch of mathematically oriented code.