MCPcopy Index your code
hub / github.com/treeverse/dvc / _normalize_float

Function _normalize_float

dvc/compare.py:277–278  ·  view source on GitHub ↗
(val: float, precision: int)

Source from the content-addressed store, hash-verified

275
276
277def _normalize_float(val: float, precision: int):
278 return f"{val:.{precision}g}"
279
280
281def _format_field(

Callers 1

_formatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected