MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / convertPreciseToFloat

Method convertPreciseToFloat

inflight_transaction.go:361–366  ·  view source on GitHub ↗

convertPreciseToFloat converts a precise amount (big.Int) to a floating-point representation. Parameters: - preciseAmount *big.Int: The precise amount to convert. - precision float64: The precision factor (e.g., 100 for 2 decimal places). Returns: - float64: The floating-point representation of th

(preciseAmount *big.Int, precision float64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

Calls

no outgoing calls

Tested by

no test coverage detected