MPLAB® Harmony Graphics Suite > Graphics Library > Legato Graphics Library > Legato Interface > a) Common Functions > lePercentOf Function
MPLAB® Harmony Graphics Suite
lePercentOf Function
C
LIB_EXPORT uint32_t lePercentOf(
    uint32_t num, 
    uint32_t percent
);
Parameters
Parameters 
Description 
num 
the number to consider 
percent 
the percentage to apply 
Returns

uint32_t - the resultant percentage of the number

MPLAB® Harmony Graphics Suite