Skip to content

[Backward Compatibility][Break] NumberToLocalizedStringTransformer #18346

Closed
@BorisMorel

Description

@BorisMorel

Hello,

With the new version of symfony 2.7.11, i have a break with the form number transformer.
If i set my validator to @Assert\Type("float") and that my submitted value doesn't contain a decimal separator, the transformer use \NumberFormatter::TYPE_INT64 instead of \NumberFormatter::TYPE_DOUBLE.

Any reason to change this feature ?

Bug introduced in this commit:
03c008c

Regards,
Boris.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions