Avoid unnecessary conversions to string and integer it causes rounding errors