MCPcopy Create free account
hub / github.com/OCEChain/OCEChain / NewDecFromInt

Function NewDecFromInt

types/decimal.go:101–103  ·  view source on GitHub ↗

create a new Dec from big integer assuming whole numbers CONTRACT: prec <= Precision

(i Int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

NewDecFromIntWithPrecFunction · 0.85

Tested by

no test coverage detected