function decodeFloats(encoded, factor) {
  factor = factor ? factor : 1e5;
  const numbers = decodeSignedIntegers(encoded);
  for (let i = 0, ii = numbers.length; i < ii; ++i) {
    numbers[i] /= factor;
  }
  return numbers;
}
Decode a list of floating point numbers from an encoded string

@param {string} encoded An encoded string.
@param {number} [factor] The factor by which the result will be divided.
    Default is `1e5`.
@return {Array<number>} A list of floating point numbers.
@api