|
Convert To Number TemplateThe convert to number templates are used to convert any text parameters on your pages to it's numeric value. This would be used only in special cases and so you would use these templates to simply pass in the text representation of the number and these templates will return the value of that number. To install the templates: First, save the four files listed below and upload them with the template upload program. Then, create a CALL :yst-convert-to-number and pass one parameter to the function which is the text you want converted. The functions will return the numeric value so you may want to place the call as either a parameter to another CALL statement or as part of a WITH= in order to assign the value to a variable. To download the templates simply right click on the following links and use the "Save as" option to save them to a folder Template 1: yst-convert-to-number.rtml Template 2: yst-convert-to-number-digit.rtml Template 3: yst-convert-to-number-whole.rtml Template 4: yst-convert-to-number-decimal.rtml | |||||||||||||||||





