odoo-13.0/addons/web/static/src/js/fields/field_utils.js
/**
 * Parse a String containing float in language formating
 *
 * @param {string} value
 *                The string to be parsed with the setting of thousands and
 *                decimal separator
 * @returns {float}
 * @throws {Error} if no float is found respecting the language configuration
 */
Parse a String containing float in language formating
@param {string} value
The string to be parsed with the setting of thousands and
decimal separator
@returns {float}
@throws {Error} if no float is found respecting the language configuration
Parse a String containing float in language formating @param { string } value The string to be parsed with the setting of thousands and decimal separator @returns { float } @throws { Error } if no float is found respecting the language configuration
function parseFloat(value) {
    var parsed = parseNumber(value);
    if (isNaN(parsed)) {
        throw new Error(_.str.sprintf(core._t("'%s' is not a correct float"), value));
    }
    return parsed;
}
function parseFloat ( value ) { var parsed = parseNumber ( value ) ; if ( isNaN ( parsed ) ) { throw new Error ( _ . str . sprintf ( core . _t ( "'%s' is not a correct float" ) , value ) ) ; } return parsed ; }
Parse a String containing float in language formating
 @param {string} value
                The string to be parsed with the setting of thousands and
                decimal separator
 @returns {float}
 @throws {Error} if no float is found respecting the language configuration
Parse a String containing float in language formating @param { string } value The string to be parsed with the setting of thousands and decimal separator @returns { float } @throws { Error } if no float is found respecting the language configuration