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