fxDreema

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

    Extract Last Digit Number

    Questions & Answers
    2
    4
    346
    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
      sobrishariff last edited by

      Hi Guys,

      I would like to do some function which is to extract the last digit number.

      I tried to search in forum, but most of the result is to extract the start digit number. In my case, I want to extract the last digit number and put in variable.

      For example,

      example 1:
      If the price is, 1.35768, I want to extract the last 3 digit number (768).

      example 2:
      If the price is, 1.35768, I want to extract the last 2 digit number (68).

      to be exact, I want to extract the last digit number from the price, then show it on the chart.

      here is my shared link for example.
      https://fxdreema.com/shared/GJY55Pbrc

      Hope that you guys can help me to solve this. 😄

      Thanks,

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

        if you don't mind, any help on this 🙂

        @l-andorrà @jstap

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

          @sobrishariff You can do it like this, not necessarily the best way but it works and you could probably tidy it up:

          https://fxdreema.com/shared/DeQcPa6Dd

          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
            sobrishariff last edited by

            @jstap thanks buddy :D, sure I will try it first.

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

            Online Users

            X
            K
            F
            A

            11
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors