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