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

Function NewDecFromBigInt

types/decimal.go:87–89  ·  view source on GitHub ↗

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

(i *big.Int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

NewDecFromBigIntWithPrecFunction · 0.85

Tested by

no test coverage detected