Better number conversion