MCPcopy
hub / github.com/dropbox/godropbox / MakeNumeric

Function MakeNumeric

database/sqltypes/sqltypes.go:59–61  ·  view source on GitHub ↗

MakeNumeric makes a Numeric from a []byte without validation.

(b []byte)

Source from the content-addressed store, hash-verified

57
58// MakeNumeric makes a Numeric from a []byte without validation.
59func MakeNumeric(b []byte) Value {
60 return Value{Numeric(b)}
61}
62
63// MakeFractional makes a Fractional value from a []byte without validation.
64func MakeFractional(b []byte) Value {

Callers

nothing calls this directly

Calls 1

NumericTypeAlias · 0.85

Tested by

no test coverage detected