fork download
  1. package main
  2.  
  3. import (
  4. "fmt"
  5. "math"
  6. )
  7.  
  8. // Main function
  9. func main() {
  10. fmt.Printf("%.2f", math.Round(0.5))
  11. }
Success #stdin #stdout 0.01s 5500KB
stdin
Standard input is empty
stdout
1.00