Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
hyperPad

hyperPad Forum

  1. Home
  2. Help and Support
  3. Is there a way to remove the decimal value from Get Position

Is there a way to remove the decimal value from Get Position

Scheduled Pinned Locked Moved Help and Support
9 Posts 4 Posters 886 Views 1 Watching
  • 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.
  • SplitMindGamingS Offline
    SplitMindGamingS Offline
    SplitMindGaming
    wrote on last edited by
    #1

    Is there any way to remove the decimal value from Get Position when it outputs the text? Screenshots included.7AB48056-5A7C-4023-925F-7853E77C928A.png 00316E48-16DA-4447-851F-F78D1DF6592D.jpeg

    KamdroidK MelideM 2 Replies Last reply
    0
    • SplitMindGamingS SplitMindGaming

      Is there any way to remove the decimal value from Get Position when it outputs the text? Screenshots included.7AB48056-5A7C-4023-925F-7853E77C928A.png 00316E48-16DA-4447-851F-F78D1DF6592D.jpeg

      KamdroidK Offline
      KamdroidK Offline
      Kamdroid
      wrote on last edited by
      #2

      @SplitMindGaming Use the Round Number behaviour. Round to 0 decimals.

      1 Reply Last reply
      0
      • SplitMindGamingS SplitMindGaming

        Is there any way to remove the decimal value from Get Position when it outputs the text? Screenshots included.7AB48056-5A7C-4023-925F-7853E77C928A.png 00316E48-16DA-4447-851F-F78D1DF6592D.jpeg

        MelideM Offline
        MelideM Offline
        Melide
        wrote on last edited by
        #3

        Put a Round Number behavior. It'll do what you said. It takes a value and... Round it ? Idk how we say it in English 🤦😩

        1 Reply Last reply
        0
        • SplitMindGamingS Offline
          SplitMindGamingS Offline
          SplitMindGaming
          wrote on last edited by
          #4

          Thanks so where does the round number go into the mix. Or how do i incorporate it. Ive tried placing it within various places on the lineup and imported all the values to the first slot but the number still shows the decimal. Heres a screenshot. What do i put in the first slot and how do i arrange it. Thanks.0CA71E77-E875-4472-8B5C-D079102C63D2.jpeg

          MelideM 1 Reply Last reply
          0
          • SplitMindGamingS SplitMindGaming

            Thanks so where does the round number go into the mix. Or how do i incorporate it. Ive tried placing it within various places on the lineup and imported all the values to the first slot but the number still shows the decimal. Heres a screenshot. What do i put in the first slot and how do i arrange it. Thanks.0CA71E77-E875-4472-8B5C-D079102C63D2.jpeg

            MelideM Offline
            MelideM Offline
            Melide
            wrote on last edited by
            #5

            @SplitMindGaming you should put the value of what you want to be rounded and not the set label value. Set label is not even for values, it's for showing something.

            To get it right you'll need to have a value with decimals to test it, then round the value and then you can show it with the set label behavior.

            SplitMindGamingS 1 Reply Last reply
            0
            • MelideM Melide

              @SplitMindGaming you should put the value of what you want to be rounded and not the set label value. Set label is not even for values, it's for showing something.

              To get it right you'll need to have a value with decimals to test it, then round the value and then you can show it with the set label behavior.

              SplitMindGamingS Offline
              SplitMindGamingS Offline
              SplitMindGaming
              wrote on last edited by
              #6

              @XxWhiteHearrxX so how would I make this work with the setup I have now. For my game I have a text on screen that constantly shows the y position of the character. The screenshot shows is the exact behavior setup on my game to achieve this. Where would the round table go into the mix. At the beginning of the chain, middle or end. 5BC98C7A-E00E-44BE-91C2-0BA7985D5D5B.png

              1 Reply Last reply
              0
              • SplitMindGamingS Offline
                SplitMindGamingS Offline
                SplitMindGaming
                wrote on last edited by
                #7

                I just figured it out. Thanks for your help guys

                Aidan_FireA 1 Reply Last reply
                0
                • SplitMindGamingS SplitMindGaming

                  I just figured it out. Thanks for your help guys

                  Aidan_FireA Offline
                  Aidan_FireA Offline
                  Aidan_Fire
                  wrote on last edited by Aidan_Fire
                  #8

                  @SplitMindGaming Get Position → Round Number (get Position is Input value) → Set Label (round number is input value)
                  Just checking, you can ignore this if that's what you're already doing

                  SplitMindGamingS 1 Reply Last reply
                  1
                  • Aidan_FireA Aidan_Fire

                    @SplitMindGaming Get Position → Round Number (get Position is Input value) → Set Label (round number is input value)
                    Just checking, you can ignore this if that's what you're already doing

                    SplitMindGamingS Offline
                    SplitMindGamingS Offline
                    SplitMindGaming
                    wrote on last edited by
                    #9

                    @Aidan-Oxley yup thats what I did. Thank you for that. It just really clarifies i did it right.

                    1 Reply Last reply
                    0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Search