Summary

This command retrieves and converts a string to a number.


Attributes

  • none

Parameters

  • one string command

Example

<script scriptId="mlatr1Ck">
    <body>
        <s:alert>
            <s:expression>
                <s:or>
                    <s:not>
                        <s:isSet/>
                    </s:not>
                    <s:and>
                        <s:gte>
                        
                            <s:toNumber>
                                <s:stringPath path=":value"/>
                            </s:toNumber>
                            
                            <s:number value="0.50"/>
                        </s:gte>
                        <s:lte>
                        
                            <s:toNumber>
                                <s:stringPath path=":value"/>
                            </s:toNumber>
                            
                            <s:number value="300"/>
                        </s:lte>
                    </s:and>
                </s:or>
            </s:expression>
            <s:correction>
                <s:string value="optional"/>
            </s:correction>
            <s:text>
                <s:string value="The MV Lateral E/e' Ratio indicated is not within the 
                acceptable range (0.50-300.00).  Please verify."/>
            </s:text>
        </s:alert>
    </body>
    <target typeId="mlatr1" when='preprocess' shouldReconcile='true'/>
</script>



Need more help?

Please visit the Fountayn Contact Information page.