Currency precision always return integer
This commit is contained in:
parent
5f756454d6
commit
80dc4b6455
@ -90,7 +90,7 @@ class Currency extends Model
|
|||||||
return config('money.' . $this->code . '.precision');
|
return config('money.' . $this->code . '.precision');
|
||||||
}
|
}
|
||||||
|
|
||||||
return $value;
|
return (int) $value;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user