MCPcopy Create free account
hub / github.com/aws/smithy-go / Float

Method Float

encoding/httpbinding/header.go:82–84  ·  view source on GitHub ↗

Float encodes the value v as a query string value

(v float32)

Source from the content-addressed store, hash-verified

80
81// Float encodes the value v as a query string value
82func (h HeaderValue) Float(v float32) {
83 h.float(float64(v), 32)
84}
85
86// Double encodes the value v as a query string value
87func (h HeaderValue) Double(v float64) {

Callers

nothing calls this directly

Calls 1

floatMethod · 0.95

Tested by

no test coverage detected