MCPcopy Index your code
hub / github.com/python/cpython / atof

Function atof

Lib/locale.py:326–328  ·  view source on GitHub ↗

Parses a string as a float according to the locale settings.

(string, func=float)

Source from the content-addressed store, hash-verified

324 return _localize(string, grouping, monetary)
325
326def atof(string, func=float):
327 "Parses a string as a float according to the locale settings."
328 return func(delocalize(string))
329
330def atoi(string):
331 "Converts a string to an integer according to the locale settings."

Callers 1

_testFunction · 0.85

Calls 2

delocalizeFunction · 0.85
funcFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…