mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 01:06:46 +00:00
Round on max number of decimals #506
This commit is contained in:
@@ -157,7 +157,7 @@ class Transaction extends Model
|
|||||||
*/
|
*/
|
||||||
public function setAmountAttribute($value)
|
public function setAmountAttribute($value)
|
||||||
{
|
{
|
||||||
$this->attributes['amount'] = strval(round($value, 2));
|
$this->attributes['amount'] = strval(round($value, 12));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user