MCPcopy Create free account
hub / github.com/StackStorm/st2 / _cast_number

Function _cast_number

st2common/st2common/util/casts.py:60–63  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

58
59
60def _cast_number(x):
61 x = _cast_none(x)
62 x = float(x)
63 return x
64
65
66def _cast_string(x):

Callers

nothing calls this directly

Calls 1

_cast_noneFunction · 0.85

Tested by

no test coverage detected