Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
277
def
_normalize_float(val: float, precision: int):
278
return
f
"{val:.{precision}g}"
279
280
281
def
_format_field(
Callers
1
_format
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected