function getStringNumberEquivalent(string) {
  if (!(string in stringToFloatMap)) {
    stringToFloatMap[string] = stringToFloatCounter++;
  }
  return stringToFloatMap[string];
}
Returns a stable equivalent number for the string literal.
@param {string} string String literal value
@return {number} Number equivalent