# Static Functions

Static functions have specialized use in template rules.

## Function Name: math:pow

Parameters: Double `a`, Double `b`

Returns: Double

Recursive: Not supported

Description: Returns the value of the first argument raised to the power of the second argument.

## Function Name: math:min

Parameters: Double `a`, Double `b`

> Returns: Double

Recursive: Not supported

Description: Returns the smaller of the two values.

## Function Name: math:max>

Parameters: Double `a`, Double `b`

Returns: Double

Recursive: Not supported

Description: Returns the greater of the two values.

## Function Name: math:round

Parameters: Double `x`, Int `scale`

Returns: Double

Recursive: Not supported

Description: Rounds the given value to the specified number of decimal places.

## Function Name: math:round

Parameters: Double `x`, Int `scale`

Returns: Double

Recursive: Not supported

Description: Rounds the given value to the specified number of decimal places.

## Function Name: sfdc_fma:checkInteger

Parameters: String `apiName`

Returns: Int

Recursive: Not supported

Description: Returns the integer value of the LMO to subscriber FMA value for `checkPackageIntegerValue`. See [FeatureManagement Class.](https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_System_FeatureManagement.htm)

## Function Name: sfdc_fma:checkBoolean

Parameters: String `apiName`

Returns: Boolean

Recursive: Not supported

Description: Returns the boolean value of the LMO to subscriber FMA value for `checkPackageBooleanValue`. See [FeatureManagement Class.](https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_System_FeatureManagement.htm)

## Function Name: sfdc_fma:checkDate

Parameters: String `apiName`

Returns: Date

Recursive: Not supported

Description: Returns the date value of the LMO to subscriber FMA value for `checkPackageDateValue`. See [FeatureManagement Class.](https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_System_FeatureManagement.htm)
