diff --git a/lib/core/form/components/widgets/core/form-field.model.ts b/lib/core/form/components/widgets/core/form-field.model.ts index b6f0cc0b71..24b8e7b2b4 100644 --- a/lib/core/form/components/widgets/core/form-field.model.ts +++ b/lib/core/form/components/widgets/core/form-field.model.ts @@ -399,7 +399,7 @@ export class FormFieldModel extends FormWidgetModel { } break; case FormFieldTypes.NUMBER: - this.form.values[this.id] = parseInt(this.value, 10); + this.form.values[this.id] = this.enableFractions ? parseFloat(this.value) : parseInt(this.value, 10); break; case FormFieldTypes.AMOUNT: this.form.values[this.id] = this.enableFractions ? parseFloat(this.value) : parseInt(this.value, 10);