Prevent casts to double