MPLAB® Harmony Graphics Suite > Graphics Library > Legato Graphics Library > Legato Interface > a) Common Functions > lePercentOfDec Function
MPLAB® Harmony Graphics Suite
lePercentOfDec Function
C
LIB_EXPORT void lePercentOfDec(
    uint32_t num, 
    uint32_t percent, 
    uint32_t* whl, 
    uint32_t* dec
);
Parameters
Parameters 
Description 
num 
the number to consider 
percent 
the percentage to apply 
whl 
pointer to whole number value 
dec 
pointer to tenths digit as an interger 
Returns

none

MPLAB® Harmony Graphics Suite