|
Variable
|
Description
|
|---|---|
|
$sasOS
|
The operating system
for the SAS server.
|
|
$sasVersion
|
The version of the SAS
server.
|
|
$MathTool
|
The Java object for
the Apache Velocity MathTool. For more information,
see Floating Point Math.
|
|
$CTMUtil
|
This tool holds a Java
object that provides common utility methods for the common task models.
|
|
$CTMMathUtil
|
This tool holds a Java
object that provides access to basic math utilities.
|
intValue() method. For
more information, see the MathTool Reference Documentation at http://velocity.apache.org.
<Options>
<Options name="PCT" defaultValue="10" inputType="inputtext">Value used
in the equation</Option>
</Options>
<CodeTemplate>
<![CDATA[
#if ($PCT)
#set ($OUTCALC = 1 - ($MathRool.toDouble($PCT)/100))
$MathTool.roundTo(2, $OUTCALC)
$MathTool.toDouble($PCT).intValue()
#end
]]>
</CodeTemplate>