return int unless float value