MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / atof

Function atof

tools/python-3.11.9-amd64/Lib/locale.py:336–338  ·  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

334 return _localize(string, grouping, monetary)
335
336def atof(string, func=float):
337 "Parses a string as a float according to the locale settings."
338 return func(delocalize(string))
339
340def atoi(string):
341 "Converts a string to an integer according to the locale settings."

Callers 1

_testFunction · 0.85

Calls 1

delocalizeFunction · 0.85

Tested by

no test coverage detected