CEILING
This tutorial is specific to our newest product, Hudl Sportscode. If you’re on Sportscode v11, use these resources instead or upgrade today.
This script will return a number which has the number rounded up to the specified number of digits from the decimal point.
FORMAT: CEILING (number, number of digits)
DEFINITIONS:
- Number: Numerical expression to indicate the number of digits.
If positive the number of digits to show at the right of the decimal point. If negative the number of digits to the left of the decimal point starting at tens.
EXAMPLE 1:
show CEILING (34.23001, 2)
Shows 34.24
EXAMPLE 2:
show CEILING (3423.456, -2)
Shows 3,500