sprintf merge

Run Settings
LanguageGo
Language Version
Run Command
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
Key bindings
Full width
Lines