Don't work, print 2 time the same variable (coin). The solution is :
fmt.Printf("%-15.2f %5.2f\n", coin, piggybank) Now add spaces and format the float variable coin (-15v + 5.2f) -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.