Predeclared type
Go int64 type
Signed 64-bit integer, range -9223372036854775808 to 9223372036854775807. Choose it when a fixed 64-bit signed range is needed. Example output: '5000000000'.
Formal Syntax & Structure
go syntaxgo
int64Working Example
Example Snippetgo
package main
import ( "fmt")
func main() { var total int64 = 5000000000 fmt.Println(total)}