Convert integers to native types