ROUTMIO_DEV

TOOLS

DDLジェネレーターDDL → ERD 変換ダミーデータジェネレーター正規表現テスターJSON フォーマッターBase64 変換タイムスタンプ変換Cron ビルダー議事録 / 報告書ドラフト

DATABASE

LANGUAGE

Go math

11個の関数

math.Absmath.Abs(x float64) float64

絶対値を返します。

math.Ceilmath.Ceil(x float64) float64

切り上げた値を返します。

math.Floormath.Floor(x float64) float64

切り捨てた値を返します。

math.Roundmath.Round(x float64) float64

四捨五入した値を返します。

math.Sqrtmath.Sqrt(x float64) float64

正の平方根を返します。

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

xのy乗を返します。

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

2つの値のうち大きい方を返します。

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

2つの値のうち小さい方を返します。

math.Logmath.Log(x float64) float64

自然対数を返します。

math.Log10math.Log10(x float64) float64

常用対数(底10)を返します。

math.Pimath.Pi (const float64)

円周率 π ≈ 3.141592653589793。

利用規約プライバシーポリシーお問い合わせIcons by Flaticon