Jake B.
Well-known member
I have a decimal(20,2) MySQL column called 'goal' and have this registered in my Entity as a FLOAT:
However, when I try to use $campaign.goal somewhere it behaves as a string instead of a float. I don't think I did something wrong, but that's entirely possible as well
PHP:
'goal' => [
'type' => self::FLOAT,
'default' => 0,
],
However, when I try to use $campaign.goal somewhere it behaves as a string instead of a float. I don't think I did something wrong, but that's entirely possible as well