MPLAB® Harmony Graphics Suite > Graphics Library > Legato Graphics Library > Legato Interface > a) Common Functions > lePercentWholeRounded Function
MPLAB® Harmony Graphics Suite
lePercentWholeRounded Function
C
LIB_EXPORT uint32_t lePercentWholeRounded(
    uint32_t l, 
    uint32_t r
);
Parameters
Parameters 
Description 
the first number of the equation 
the second number of the equation 
Returns

uint32_t - the percentage represented as a whole number

MPLAB® Harmony Graphics Suite