apply_filters( 'sensei_round_precision', $precision, $value, $context, $mode ) → {int}
Filter the round precision.
Change the precision for the Sensei_Utils::round function. the precision given will be passed into the php round function
Parameters:
Name | Type | Description |
---|---|---|
$precision |
int | Precision. |
$value |
float | Value to round. |
$context |
string | Context. |
$mode |
int | Round mode. |
- Since:
- 1.8.5
- Source:
Returns:
Filtered precision.
- Type
- int