Golang strconv.FormatInt() and FormatUint() functions example
package strconv
Golang strconv.FormatInt() and FormatUint() functions usage example
package main
import (
"fmt"
"strconv"
)
func main() {
//func FormatInt(i int64, base int) string
str := strconv.FormatInt(int64(112323223), 10)
fmt.Println(str)
}
References :
Advertisement
Something interesting
Tutorials
+18.5k Golang : Set, Get and List environment variables
+5.4k Golang *File points to a file or directory ?
+6.7k Golang : Humanize and Titleize functions
+19.3k Golang : Get host name or domain name from IP address
+10.6k Golang : How to delete element(data) from map ?
+16.5k Golang : Get IP addresses of a domain name
+20.9k PHP : Convert(cast) int to double/float
+10.1k Golang : Print how to use flag for your application example
+6.9k Golang : How to setup a disk space used monitoring service with Telegram bot
+4.6k MariaDB/MySQL : How to get version information
+29.7k Golang : Record voice(audio) from microphone to .WAV file
+25.4k Golang : Generate MD5 checksum of a file