How to Round to decimal places
-
Could anyone explain how to have Comments values display correctly when no value yet or if value is 0.0?
Round to 5 decimals is selected in Comments block:

Yet before value assigned or if value is 0, it displays values like this:

-
@Jim67 This is a common issue on fxDreema. The best solution I found is using this code:

In this case I selected 2 decimal positions only. However, the problem is still visible from time to time.
-
Hey @l-andorrà thanks for your reply,
For EURUSD 5 decimal place I tried "=NormalizeDouble($,5)" in block where variable is generated and in the Comment block, but did not a difference.Is that how you meant to use the code (bear in mind I know jack-shit about coding
) -
swap '$' for your variable
-
Makes sense @General-Melchett but didn't work - tried it like this:

Does that look right or am I still missing something??
-
@Jim67 I'm not a programmer, so I have no idea how to reply

-
@Jim67
Try:
Replace the variables with 1, then replace = with * -
Hey @sktsec Thanks for your reply.
I tried:
*NormalizeDouble(1,5)
and
*NormalizeDouble(Range_Low,5)
and
=NormalizeDouble(1,5)
and
=NormalizeDouble(Range_Low,5).... but all still give "0.0000000000000000+e00"
Am I doing what you suggested correctly?
Otherwise, think I might just have to put up with it .
Thanks again for trying to help.
Really appreciate it -
Try:
Replace the variable in blue color with 1. For the adjust item: *NormalizeDouble(Range_Low,5) -
Hey @sktsec
No cigar I'm afraid, if I've done it right:

Frustrating little glitch hey.
Let me know if you think of anything else that might work.
-
Maybe this is the moment to contact the admin and letting him know the issue.
-
-
BRILLIANT! @sktsec All FIXED!
Well done - thank you so much for your help.
Thanks also to everyone who replied too.
Love the Dreema and love the helpful community
-
@Jim67
You are welcome. Indeed you inspired me as I never care about the display format at all -
@l-andorrà Thanks
=NormalizeDouble($,2) worked for me! Without having to change $ for the variable.
-
@Ipod You're welcome.
-
@l-andorrà thank you. it worked for me too.
-
You're welcome.
