atol method

int atol(
  1. String str
)

Converts a string to a long integer, stopping at the first invalid character.

Implementation

int atol(String str) {
  return strtol(str);
}