MCPcopy Create free account
hub / github.com/buke/quickjs-go / Float64

Method Float64

value.go:209–211  ·  view source on GitHub ↗

Deprecated: Use ToFloat64 instead.

()

Source from the content-addressed store, hash-verified

207
208// Deprecated: Use ToFloat64 instead.
209func (v *Value) Float64() float64 {
210 return v.ToFloat64()
211}
212
213// ToFloat64 returns the float64 value of the value.
214func (v *Value) ToFloat64() float64 {

Callers 1

TestValueConversionsFunction · 0.45

Calls 1

ToFloat64Method · 0.95

Tested by 1

TestValueConversionsFunction · 0.36