Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Because 65 is the code for the English letter "A".
If you want to display 65, you need to use either the strconv or fmt module.
package main
import "fmt"
import "strconv"
func main() {
var i int64 = 65
fmt.Println(strconv.FormatInt(i, 10))
// или так
fmt.Printf("%d\n", i)
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question