Standard library / reflect

reflect.Float64

Kind constant identifying 64-bit floating-point number. Expected stdout: 'true\n'.

Formal Syntax & Structure

go syntaxgo
const Float64 Kind = 14

Working Example

Example Snippetgo
package main
import (  "fmt"  "reflect")
func main() { fmt.Println(reflect.TypeOf(float64(0)).Kind() == reflect.Float64) }
Go Reference