fxDreema

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

    Truncate decimal numbers

    Questions & Answers
    2
    7
    206
    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.
    • S
      sajadamani1377 last edited by

      I want the balance to be divided by a number and the result of each number to be rounded down. In fact, the decimal should be cut off. For example, 1.1 or 1.9 both become 1.

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

        https://fxdreema.com/shared/xoKI2KjGb

        1 Reply Last reply Reply Quote 0
        • jstap
          jstap last edited by

          Maths floor will do this, combine this with divide and you have what you want. https://fxdreema.com/shared/E2uX57fYb

          Learn fxDreema Without the Wait!

          My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

          The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

          Don’t miss out

          Click here➡️ https://mybook.to/fxDreema to get your copy today!

          Enjoy! 😊

          1 Reply Last reply Reply Quote 1
          • S
            sajadamani1377 last edited by

            Thank you

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

              What block should I use if I want to show the profit or loss of a symbol in the form of a comment in the same display?

              jstap 1 Reply Last reply Reply Quote 0
              • jstap
                jstap @sajadamani1377 last edited by

                @sajadamani1377 You have to use bucket of trades to get the value, in comment use the bucket with selected colour.

                Learn fxDreema Without the Wait!

                My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                Don’t miss out

                Click here➡️ https://mybook.to/fxDreema to get your copy today!

                Enjoy! 😊

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

                  Thank you

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

                  Online Users

                  C
                  P
                  E
                  R
                  F
                  ح
                  H
                  J
                  P

                  19
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors