lv_label_set_text_fmt() function
Set a new formatted text for a label. Memory will be allocated to store the text by the label.
Arguments
obj
pointer to a label object
fmt
`printf`-like format @example lv_label_set_text_fmt(label1, "%d user", user_num);