Skip to content

Instantly share code, notes, and snippets.

Avatar

Jens Rantil JensRantil

View GitHub Profile
View round.go
package main
import (
"log"
"math"
)
func Round(val float64) float64 {
return math.Floor(val + 0.5)
}
You can’t perform that action at this time.