How to set the decimal point to only retain 2 digits after the decimal point? Please seek guidance from experts
-
Why are there so many decimal places after subtracting integers,Draw Text It can be displayed, but there are many decimal points after it,If you choose CommentBut it doesn't display, please guide me, expert

-
Add a shared link to see exactly how things are set, by the looks of it you have the result as a double, this code should correct in DoubleToString(variable,2), this will set the figure as 2 decimal places after the .
-
https://fxdreema.com/shared/F7jzod5lc 共享链接 高手帮看看是那里的问题
-
@jstap Can you help me see where the problem is
https://fxdreema.com/shared/F7jzod5lc -
This should do it: DoubleToString(gaodin_jian2,2)

-
@jstap said in How to set the decimal point to only retain 2 digits after the decimal point? Please seek guidance from experts:
This should do it: DoubleToString(gaodin_jian2,2)

Still not working, experts can modify the parameters and run it again to see if it works properly

-
@jstap OK

-
-
@jstap thank you very much

-
@诸葛点金 No problem
