MPLAB® Harmony Graphics Suite > Graphics Library > Legato Graphics Library > Legato Interface > a) Common Functions > leAbsoluteValue Function
MPLAB® Harmony Graphics Suite
leAbsoluteValue Function
C
LIB_EXPORT uint32_t leAbsoluteValue(
    int32_t val
);
Parameters
Parameters 
Description 
val 
the number to consider 
Returns

uint32_t - the absolute value

MPLAB® Harmony Graphics Suite