Files
go-easy-utils/mathx/ceil_example_test.go
2025-07-08 15:26:54 +08:00

16 lines
157 B
Go

package mathx
import "fmt"
func ExampleCeil() {
res1 := Ceil(3.14)
res2 := Ceil(-6.5)
fmt.Println(res1)
fmt.Println(res2)
// Output:
// 4
// -6
}