How to fix informations about numeric values?
-
Hello Fxdreema friends, I would like to know if you can help me.
I'm trying to display on the screen information of balance, gains, losses but I came across information being displayed incorrectly, I put it as "double" and I notice that more numbers appear than is necessary as you can see in the prints, how can I fix it this?

https://fxdreema.com/shared/8A3e0BFZ
Link to access my project. -

Up, have 2 erros to show informations, 9 (in red)
-
Sadly those floating decimals are more common than they should. The creator said that they are a consequence of calculations executed within the block. If I remember corerctly there is a way to reduce those decimals by using a custom code block. Sadly, I'm not a programmer so I have no idea how to do it.
I don't fully understand the first error on the left. What is the exact problem?
-
@l-andorrà said in How to fix informations about numeric values?:
Sadly those floating decimals are more common than they should. The creator said that they are a consequence of calculations executed within the block. If I remember corerctly there is a way to reduce those decimals by using a custom code block. Sadly, I'm not a programmer so I have no idea how to do it.
I don't fully understand the first error on the left. What is the exact problem?The exact problem is that in the market where I operate the calculations need to be accurate, I notice that more numbers appear than expected and this can hinder the calculations to some extent.
-
I found the thread in which the admin explaind that problem.