tonumber:

Format:

tonumber: Rx, Ry

Convert string Ry that represents a number and load into Rx. If Ry does not represent a number, Rx is loaded with zero.

Parameters:

Rx: A numeric register.
Ry: A string register.