code style fixes

This commit is contained in:
Andreas Gohr
2023-04-06 08:47:33 +02:00
parent 3ff5da8ae6
commit 460e822f15
4 changed files with 16 additions and 12 deletions

View File

@ -57,7 +57,11 @@ class Decimal extends AbstractMultiBaseType
$exp = $pfkey * $exp / abs($exp);
}
$R->cdata($this->config['prefix'] . $value / 10**($exp*3) . "\xE2\x80\xAF" . $units[$pfkey] . $this->config['postfix'] );
$R->cdata(
$this->config['prefix'] .
$value / 10 ** ($exp * 3) . "\xE2\x80\xAF" . $units[$pfkey] .
$this->config['postfix']
);
return true;
}