RTML Operator “AS-NUMBER”
Within Yahoo Store RTML Template, this operator is showing as:
The purpose of this operator is to take an argument and convert it (if possible) to a numerical type.
The argument in this example starts with “$”, where “$” is not a numerical character and therefore the AS-NUMBER returns 0
AS-NUMBER “10.44 20 30”
This example returns 10.44 because AS-NUMBER stops at the not numerical blank character.
This entry was posted on Sunday, July 10th, 2011 at 6:33 am and is filed under Description of RTML Operators. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.