Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DNAProject/DNA
/ ToNumString
Method
ToNumString
common/int128.go:114–117 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
112
}
113
114
func
(self *I128) ToNumString() string {
115
val := self.ToBigInt()
116
return
fmt.Sprintf(
"%d"
, val)
117
}
118
119
// to little endian hex string
120
func
(self *I128) ToLEHex() string {
Callers
1
TestI128ToNumString
Function · 0.80
Calls
1
ToBigInt
Method · 0.95
Tested by
1
TestI128ToNumString
Function · 0.64