Toggle navigation
New
Learn
Snippets
Meta
News
About
API Docs
Source Code
Account
Register
Login
sprintf merge
main.go
dio.go
✖
tria.go
✖
tessera.go
✖
pente.go
✖
eksi.go
✖
Run Settings
Language
Go
Language Version
latest
Run Command
Snippet Metadata
Owner
Ubaidillah
Created
Modified
Visibility
Public
package main import ( "fmt" "math" ) func main() { balance := float64(201) const ESTIMATE_OTP_SENDING = 0.18 otpCanSend := math.Floor(balance / ESTIMATE_OTP_SENDING) bodyEmail := fmt.Sprintf("Hello backend fellas, Vonage balance is low: €%v\n", balance) bodyEmail += fmt.Sprintf("Estimate OTP @%v again\n", otpCanSend) fmt.Println(bodyEmail) }
Editor Settings
Theme
Chrome
Clouds
Crimson Editor
Dawn
Dreamweaver
Eclipse
GitHub
Solarized Light
TextMate
Tomorrow
XCode
Kuroir
KatzenMilch
Ambiance
Chaos
Clouds Midnight
Cobalt
idle Fingers
krTheme
Merbivore
Merbivore Soft
Mono Industrial
Monokai
Pastel on dark
Solarized Dark
Terminal
Tomorrow Night
Tomorrow Night Blue
Tomorrow Night Bright
Tomorrow Night 80s
Twilight
Vibrant Ink
Key bindings
Default
Vim
Emacs
Full width
True
False
Lines
-
Auto
+
Direct link
Raw
Embed