Skip to content

Commit b9d1be0

Browse files
authored
Fix for
1 parent dac50b8 commit b9d1be0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Casts/Money.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ public function get($model, $key, $value, $attributes)
3434
*/
3535
public function set($model, $key, $value, $attributes)
3636
{
37-
return $value * 100;
37+
return floatval($value) * 100;
3838
}
3939
}

0 commit comments

Comments
 (0)