typo. ref #27
This commit is contained in:
parent
8f52d0dec9
commit
ee7e950346
@ -22,7 +22,7 @@ func main() {
|
||||
fmt.Println(int64(d))
|
||||
|
||||
// A number can also be given a type by using it in a context that
|
||||
// requires one, such as a variable assignment or funcion call.
|
||||
// requires one, such as a variable assignment or function call.
|
||||
// The type it gets depends on its value.
|
||||
fmt.Println(n) // int
|
||||
fmt.Println(d) // float64
|
||||
|
Loading…
x
Reference in New Issue
Block a user