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

Function str

tools/python-3.11.9-amd64/Lib/locale.py:312–314  ·  view source on GitHub ↗

Convert float to string, taking the locale into account.

(val)

Source from the content-addressed store, hash-verified

310 return s.replace('<', '').replace('>', '')
311
312def str(val):
313 """Convert float to string, taking the locale into account."""
314 return _format("%.12g", val)
315
316def delocalize(string):
317 "Parses a string as a normalized number according to the locale settings."

Callers 15

to_stringMethod · 0.85
to_stringMethod · 0.85
pretty_printer_lookupFunction · 0.85
pick_iteratorMethod · 0.85
is_g_type_class_instanceFunction · 0.85
pretty_printer_lookupFunction · 0.85
frame_nameFunction · 0.85
_get_capabilitiesMethod · 0.85
_get_responseMethod · 0.85
_new_tagMethod · 0.85
_raw_inputFunction · 0.85

Calls 1

_formatFunction · 0.70

Tested by 15

_get_testMethod · 0.68
outMethod · 0.68
_toAsciiMethod · 0.68
__str__Method · 0.68
__str__Method · 0.68
_strMethod · 0.68
checkParamMethod · 0.68
checkInvalidParamMethod · 0.68
test_configure_orientMethod · 0.68
test_unique_variablesMethod · 0.68
test_configure_imageMethod · 0.68