AlterFloatPropertyTrait
Table of Contents
Methods
- alterFloatProperty() : array<string|int, mixed>|float
- Cast a value to float. If the value is an array, all elements in the array are casted.
Methods
alterFloatProperty()
Cast a value to float. If the value is an array, all elements in the array are casted.
public
alterFloatProperty(mixed $value[, bool &$modified = false ]) : array<string|int, mixed>|float
Property::PRICE => [ Alter::FLOAT ] ,
Parameters
- $value : mixed
- $modified : bool = false