"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.processNumberValue = processNumberValue;
function processNumberValue($element, value) {
    let data = Number.parseFloat(value);
    if (isNaN(data)) {
        // value is not a valid number
        if (value === '') {
            $element.value = '';
            data = 0;
        }
    }
    return data;
}
//# sourceMappingURL=processNumberValue.js.map