JSREF
JavaScript Number.parseInt()
The Number.parseInt method parses a value as a string and returns the first integer.