For floating numbers change this settings in both lv_conf.h files
#define LV_SPRINTF_CUSTOM - 0 to 1
#define LV_SPRINTF_USE_FLOAT - 0 to 1
lv_label_set_text_fmt(LABEL, "%f", VALUE);
but you will get 8 digit number like this "21.700000" instead of "21.70"