odoo-13.0/addons/web/static/src/js/fields/field_utils.js
/**
 * Parse a String containing float and unconvert it with a conversion factor
 *
 * @param {number} [options.factor]
 *          Conversion factor, default value is 1.0
 */
Parse a String containing float and unconvert it with a conversion factor
@param {number} [options.factor]
Conversion factor, default value is 1.0
Parse a String containing float and unconvert it with a conversion factor @param { number } [ options . factor ] Conversion factor default value is 1 . 0
function parseFloatFactor(value, field, options) {
    var parsed = parseFloat(value);
    var factor = options.factor || 1.0;
    return parsed / factor;
}
function parseFloatFactor ( value , field , options ) { var parsed = parseFloat ( value ) ; var factor = options . factor || 1.0 ; return parsed / factor ; }
Parse a String containing float and unconvert it with a conversion factor
 @param {number} [options.factor]
          Conversion factor, default value is 1.0
Parse a String containing float and unconvert it with a conversion factor @param { number } [ options . factor ] Conversion factor default value is 1 . 0