ROUTMIO_DEV

TOOLS

DDL GeneratorDDL → ERDDummy Data GeneratorRegex TesterJSON FormatterBase64 ConverterTimestamp ConverterCron BuilderMeeting Minutes

DATABASE

LANGUAGE

Go math

11 functions

math.Absmath.Abs(x float64) float64

Returns the absolute value of x.

math.Ceilmath.Ceil(x float64) float64

Returns the least integer value greater than or equal to x.

math.Floormath.Floor(x float64) float64

Returns the greatest integer value less than or equal to x.

math.Roundmath.Round(x float64) float64

Returns the nearest integer, rounding half away from zero.

math.Sqrtmath.Sqrt(x float64) float64

Returns the square root of x.

math.Powmath.Pow(x, y float64) float64

Returns x**y, the base-x exponential of y.

math.Maxmath.Max(x, y float64) float64

Returns the larger of x or y.

math.Minmath.Min(x, y float64) float64

Returns the smaller of x or y.

math.Logmath.Log(x float64) float64

Returns the natural logarithm of x.

math.Log10math.Log10(x float64) float64

Returns the decimal logarithm of x.

math.Pimath.Pi (const float64)

Mathematical constant π ≈ 3.141592653589793.

Terms of ServicePrivacy PolicyContactIcons by Flaticon