Summary

This command returns the smallest value from all the values provided.


Attributes

  • none

Parameters

  • two or more number commands

Example

<script scriptId="smallestNum">
    <body>
        <s:assign>
            <s:question path=".smallestNum"/>
            
            <s:min>
                <s:numberPath path=".num1:value"/>
                <s:numberPath path=".num2:value"/>
                <s:numberPath path=".num2:value"/>
            </s:min>
            
        </s:assign>
    </body>
    <target typeId="num1" when="preprocess" shouldReconcile='true' />
    <target typeId="num2" when="preprocess" shouldReconcile='true' />
    <target typeId="num3" when="preprocess" shouldReconcile='true' />
</script>



Need more help?

Please visit the Fountayn Contact Information page.