```
  unsigned short a;
  char temp[] = "70000";
  a = atoi(temp);
  printf("a: %d\n", a);

```

Gives me the output `a: 4464` when it should be `a: 70000` Is there a better way to convert from ASCII to a decimal? The range of a unsigned short is 0 - 65535