MCPcopy Create free account
hub / github.com/SLiCAP/SLiCAP_python / _f

Function _f

SLiCAP/schematic/subcircuit.py:181–182  ·  view source on GitHub ↗
(v: float)

Source from the content-addressed store, hash-verified

179 pos = {placement[i]: slots[i] for i in range(len(placement))}
180
181 def _f(v: float) -> str: # tidy number formatting
182 return f"{v:g}"
183
184 # The box + pin stubs + node markers only. The block name (model label) and
185 # the pin names are drawn by ComponentItem so they stay upright under any

Callers 1

box_symbol_svgFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected