Problem with float number in scripting Parameters

Dear All,

i am facing a problem to display this number “1e-7” with the #@parameter notation. Here is what I have written

#@ Double(label=“Error_Tolerance:”, value=1.0e-7, persist=false) tol

but on the dialog display you can see only 0 (even if I print the ‘top’ value it is the good value.

The only solution I found it is to use the String type instead of Double (or Float) and it is working as follow
Screen Shot 2020-12-16 at 11.48.04
and I am converting the sting in float

But I am not satisfied with this solution. So I would like to know if there is a way to define the number of decimal to display ? If you have any idea, let me know

thank you by advance