Choose suitable data types and convert input before using it in calculations.
Choose a suitable type for each kind of value.
Cast string input before performing a calculation.