concept float64 in category go

This is an excerpt from Manning's book Get Programming with Go.
Every variable has a type. When you declare and initialize a variable with a real number, you’re using a floating-point type. The following three lines of code are equivalent, because the Go compiler will infer that days is a float64, even if you don’t specify it:
days := 365.2425 #1 var days = 365.2425 var days float64 = 365.2425It’s valuable to know that days has a float64 type, but it’s superfluous to specify float64. You, me, and the Go compiler can all infer the type of days by looking at the value to the right. Whenever the value is a number with a decimal point, the type will be float64.
Instead of comparing floating-point numbers directly, determine the absolute difference between two numbers and then ensure the difference isn’t too big. To take the absolute value of a float64, the math package provides an Abs function: