We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dac50b8 commit b9d1be0Copy full SHA for b9d1be0
src/Casts/Money.php
@@ -34,6 +34,6 @@ public function get($model, $key, $value, $attributes)
34
*/
35
public function set($model, $key, $value, $attributes)
36
{
37
- return $value * 100;
+ return floatval($value) * 100;
38
}
39
0 commit comments