MCPcopy Create free account
hub / github.com/CoolProp/CoolProp / _fmt_dev

Function _fmt_dev

Web/scripts/fluid_properties.IF97Conformance.py:846–849  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

844# ---------------------------------------------------------------------------
845
846def _fmt_dev(value):
847 if value is None or not math.isfinite(value):
848 return '--'
849 return '{:.3g}'.format(value)
850
851
852def _fmt_perm(p):

Callers 1

render_rstFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected