diff --git a/frappe/public/js/frappe/form/controls/int.js b/frappe/public/js/frappe/form/controls/int.js index 706aa677b9..d612db40ae 100644 --- a/frappe/public/js/frappe/form/controls/int.js +++ b/frappe/public/js/frappe/form/controls/int.js @@ -15,7 +15,9 @@ frappe.ui.form.ControlInt = class ControlInt extends frappe.ui.form.ControlData return this.parse(value); } eval_expression(value, number_format) { - return typeof value === "string" ? frappe.utils.eval_expression(value, number_format) : value; + return typeof value === "string" + ? frappe.utils.eval_expression(value, number_format) + : value; } parse(value) { return cint(this.eval_expression(value), null);