fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    How to Round to decimal places

    Questions & Answers
    6
    18
    2591
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jim67 last edited by

      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:
      11634ed9-5133-4517-9f49-f17dc96aaa5b-image.png

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

      9409d202-1365-43f1-9927-bbdb98c60a41-image.png

      l'andorrà 1 Reply Last reply Reply Quote 0
      • l'andorrà
        l'andorrà @Jim67 last edited by

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

        01.png

        In this case I selected 2 decimal positions only. However, the problem is still visible from time to time.

        (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

        (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

        (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

        I 1 Reply Last reply Reply Quote 1
        • J
          Jim67 last edited by

          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 😏)

          l'andorrà 1 Reply Last reply Reply Quote 0
          • General Melchett
            General Melchett last edited by

            swap '$' for your variable

            1 Reply Last reply Reply Quote 0
            • J
              Jim67 last edited by Jim67

              Makes sense @General-Melchett but didn't work - tried it like this:

              image.png

              Does that look right or am I still missing something??

              S 1 Reply Last reply Reply Quote 0
              • l'andorrà
                l'andorrà @Jim67 last edited by

                @Jim67 I'm not a programmer, so I have no idea how to reply 😄

                (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

                1 Reply Last reply Reply Quote 0
                • S
                  sktsec @Jim67 last edited by

                  @Jim67
                  Try:
                  Replace the variables with 1, then replace = with *

                  1 Reply Last reply Reply Quote 0
                  • J
                    Jim67 last edited by

                    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

                    1 Reply Last reply Reply Quote 0
                    • S
                      sktsec last edited by

                      Try:
                      Replace the variable in blue color with 1. For the adjust item: *NormalizeDouble(Range_Low,5)

                      1 Reply Last reply Reply Quote 0
                      • J
                        Jim67 last edited by

                        Hey @sktsec
                        No cigar I'm afraid, if I've done it right:

                        image.png

                        image.png

                        Frustrating little glitch hey.

                        Let me know if you think of anything else that might work.

                        S 1 Reply Last reply Reply Quote 0
                        • l'andorrà
                          l'andorrà last edited by

                          Maybe this is the moment to contact the admin and letting him know the issue.

                          (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                          (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                          (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

                          1 Reply Last reply Reply Quote 0
                          • S
                            sktsec @Jim67 last edited by

                            @Jim67
                            Clipboard02.jpg Clipboard01.jpg

                            1 Reply Last reply Reply Quote 0
                            • J
                              Jim67 last edited by

                              🎉 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 👍

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                sktsec @Jim67 last edited by

                                @Jim67
                                You are welcome. Indeed you inspired me as I never care about the display format at all

                                1 Reply Last reply Reply Quote 0
                                • I
                                  Ipod @l'andorrà last edited by

                                  @l-andorrà Thanks

                                  =NormalizeDouble($,2) worked for me! Without having to change $ for the variable.

                                  l'andorrà 1 Reply Last reply Reply Quote 0
                                  • l'andorrà
                                    l'andorrà @Ipod last edited by

                                    @Ipod You're welcome.

                                    (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                                    (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                                    (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

                                    G 1 Reply Last reply Reply Quote 0
                                    • G
                                      Gary 0 @l'andorrà last edited by

                                      @l-andorrà thank you. it worked for me too.

                                      1 Reply Last reply Reply Quote 0
                                      • l'andorrà
                                        l'andorrà last edited by

                                        You're welcome.

                                        (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                                        (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                                        (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

                                        1 Reply Last reply Reply Quote 0
                                        • 1 / 1
                                        • First post
                                          Last post

                                        Online Users

                                        M
                                        E
                                        C
                                        M
                                        F
                                        L
                                        F
                                        F
                                        E
                                        K

                                        27
                                        Online

                                        146.6k
                                        Users

                                        22.4k
                                        Topics

                                        122.6k
                                        Posts

                                        Powered by NodeBB Forums | Contributors