Symfony\Component\Intl\NumberFormatter\NumberFormatter::getUnitializedPrecision
Returns the precision value if the DECIMAL style is being used and the FRACTION_DIGITS attribute is unitialized.
Signature
private function getUnitializedPrecision(integer|float
$value,
int
$precision )
Parameters
$value
—
object
- The value to get the precision from if the FRACTION_DIGITS attribute is unitialized
$precision
—
int
- The precision value to returns if the FRACTION_DIGITS attribute is initialized
Returns
- int
- The precision value