ABS

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 the absolute val­ue of a number.

FORMAT: ABS (number)


DEFINITIONS:

  • Num­ber: numer­i­cal expression

EXAMPLE 1:

show abs(-5*2)

Shows 10.