round

package module
v0.0.0-...-732823a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2021 License: MIT Imports: 4 Imported by: 0

README

What is this?

Easy rounding

Installation

$ go get github.com/go-utils/round

Usage

package main

import (
    "fmt"

    "github.com/go-utils/round"
)

func main() {
    fmt.Println(round.Do(3.4444449))
    // Output: 4
}

License

MIT

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do(f float64) float64

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL