- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ExampleFloor (0.13 sec)
-
src/math/example_test.go
a = 3 b = 4 ) c := math.Sqrt(a*a + b*b) fmt.Printf("%.1f", c) // Output: 5.0 } func ExampleCeil() { c := math.Ceil(1.49) fmt.Printf("%.1f", c) // Output: 2.0 } func ExampleFloor() { c := math.Floor(1.51) fmt.Printf("%.1f", c) // Output: 1.0 } func ExamplePow() { c := math.Pow(2, 3) fmt.Printf("%.1f", c) // Output: 8.0 } func ExamplePow10() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 07 18:09:53 UTC 2021 - 3.7K bytes - Viewed (0)