Skip to content

Instantly share code, notes, and snippets.

@JensRantil JensRantil/round.go forked from DavidVaini/round.go
Last active Aug 29, 2015

What would you like to do?
package main
import (
func Round(val float64) float64 {
return math.Floor(val + 0.5)
func main() {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.