Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pyfa-org/Pyfa
/ roundDec
Function
roundDec
eos/utils/round.py:24–27 ·
view source on GitHub ↗
(val, prec)
Source
from the content-addressed store, hash-verified
22
23
24
def
roundDec(val, prec):
25
if
int(val) == val:
26
return
int(val)
27
return
round(val, prec)
Callers
1
FormatValue
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected