- TIBCO BusinessEvents®
- Standard
- Math

# Math.roundFraction()

## Signature

`double roundFraction (double d1, int precision)`

## Domain

ACTION, CONDITION, QUERY, BUI

## Description

Rounding the number `d1` to the precision of `precision` places.

## Parameters

Name | Type | Description
--- | --- | ---
`d1` | `double` | The number to round.
`precision` | `int` | Length of precision.

## Returns

Type | Description
--- | ---
`double` | The result.

## Cautions

none