src/Type/DecimalType.php
public function guard($value, Field $field)
    {
        Assertion::float($value, null, $field->getName());
    }
public function guard($value, Field $field)
    {
        Assertion::float($value, null, $field->getName());
    }
{@inheritdoc}