---
schema_version: "1"
id: c173c49ec7935cf8f790754ec58e446f1ff3deb0635dfa19620d03ddd9ff9314
title: Static Functions
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/analytics/bi_dev_guide_wave_templates/guides/reference/bi-templatesdev-functions-static.md
canonical_url: https://developer.salesforce.com/docs/analytics/bi-dev-guide-wave-templates/guide/bi-templatesdev-functions-static.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 5ec859fe65fd4d35b48be374f8cee045c4d5db03a45e23890c48dc5b79b38aca
products:
  - Analytics Templates Developer Guide
  - analytics
---

# 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)
