Home > PHP > Function > BC Math > bcscale()

bcscale()

bcscale - Set default scale parameter for all bc math functions

Syntax

bool bcscale (int $scale)

Arguments

  • scale - The scale factor.

Description

Sets the default scale parameter for all subsequent bc math functions that do not explicitly specify a scale parameter.

Version

PHP 4, 5

Return value

Returns TRUE on success or FALSE on failure.