We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 827b3f1 commit de18b02Copy full SHA for de18b02
src/Amount.php
@@ -56,7 +56,7 @@ public function arraySerialize() : array
56
{
57
return [
58
"currency" => $this->getCurrency() ?? 'RUB',
59
- "value" => $this->getValue()
+ "value" => round( $this->getValue(), 2),
60
];
61
}
62
0 commit comments