I'll have to test to make sure, but I'm fairly certain this is not ok, there's a reason this is super crazy and integer-based, it's used MANY times per turn.