Compute Ceiling
Computes the least integer value greater than or equal to x.
Examples in
Go
package main
import (
"fmt"
"math"
)
func main() {
c := math.Ceil(1.49)
fmt.Printf("%.1f", c)
}