mathx

package
v12.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: BSD-3-Clause Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Round

func Round(input float64, roundOn float64, places float64) float64

Round rounds the "input" on "roundOn" (e.g. 0.5) on "places" digits.

func RoundDown

func RoundDown(input float64, places float64) float64

RoundDown rounds down the "input" up to "places" digits.

func RoundUp

func RoundUp(input float64, places float64) float64

RoundUp rounds up the "input" up to "places" digits.

Types

This section is empty.

Jump to

Keyboard shortcuts

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