<?php
int bcscale ( int $scale )
where,
$scale = The scale factor
?>
<?php
int bcscale ( null $scale = null )
where,
$scale = The scale factor
?>
<?php
$scale01a = bcscale();
$scale01b = bcscale(10);
$scale01c = bcscale(80.993456);
echo ' The last current scale is ' . bcscale() . '.<br>';
?>
<?php
$scale02 = bcscale(80);
$scale02 = bcscale(10);
$scale02 = bcscale(.99999);
echo ' The last current scale is ' . bcscale() . '.<br>';
?>
<?php
$arrexp03 = [ 20, 30, null ];
foreach($arrexp03 as $k03 => $v03)
echo '[ ' . $k03 . ' ] - The last current scale is ' . bcscale($v03) . '.<br>';
?>
<?php
$arrexp04 = [ 20, 30, 18 ];
foreach($arrexp04 as $k04 => $v04)
echo '[ ' . $k04 . ' ] - The last current scale is ' . bcscale($v04) . '.<br>';
?>
<?php
$scale05 = bcscale(null);
echo ' The last current scale is ' . $scale05 . '.<br>';
?>