Currency precision always return integer

This commit is contained in:
Cüneyt Şentürk 2020-02-14 16:39:15 +03:00
parent 5f756454d6
commit 80dc4b6455

View File

@ -90,7 +90,7 @@ class Currency extends Model
return config('money.' . $this->code . '.precision');
}
return $value;
return (int) $value;
}
/**