Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/prometheus/common
/ String
Method
String
model/value_histogram.go:26–28 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
24
type
FloatString float64
25
26
func
(v FloatString) String() string {
27
return
strconv.FormatFloat(float64(v),
'f'
, -1, 64)
28
}
29
30
func
(v FloatString) MarshalJSON() ([]byte, error) {
31
return
json.Marshal(v.String())
Callers
1
MarshalJSON
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected