Original post

mathi going to be a wrapper for golang math package but it going to accept or return int64 instead of float64

how to use

package main

import (
        "fmt"

        "github.com/m7shapan/mathi"
)

func main() {
        fmt.Println(mathi.RoundN(5.12355, 3)) // 5.124
}

supported math func

new mathi func