Double values not displaying correctly with lv_label_set_text_fmt

Description

What MCU/Processor/Board and compiler are you using?

-Arduino giga R1 wifi with giga display shield
-Arduino IDE 2.3.6

What LVGL version are you using?

-LVGL 9.2.2

What do you want to achieve?

Set a double value in a textarea, calculate with another double value by pressing “ready” on the keyboard and displaying the result

What have you tried so far?

-I try to extract the string of textarea with “lv_textarea_get_text” and extract the number with “strtod”.
-It works perfectly with an integer but never with double or float.
-I already set the “lv_use_float to” 1 in lv_conf_9.h
-change the “programmer” in arduino ide

Code to reproduce

The code block(s) should be formatted like:

void ui_event_Keyboard1(lv_event_t* e) {
  lv_event_code_t event_code = lv_event_get_code(e);
  lv_obj_t* target = lv_event_get_target(e);

  if (event_code == LV_EVENT_READY) {

    double a = 5.2;
    double val;

    val = strtod (lv_textarea_get_text (ui_TextArea2));

    lv_label_set_text_fmt(ui_LabelValeurEau, "%lf", val);

    val *= a;
    lv_label_set_text_fmt(ui_LabelEssai, "%lf", val);
  }
}

Screenshot and/or video

first value is “ui_LabelValeurEau” and below is “ui_LabelEssai”

i mean func have and require two params. But primary you dont show how is problem LV or CLIB.

you can close the topic. problem solved here :

https://forum.lvgl.io/t/how-to-make-arithmetic-operations-with-float-or-double/21260/4