logo hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    Divide Behavior: Bad math?

    Scheduled Pinned Locked Moved
    Bug Reports
    2
    2
    174
    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.
    • TutorialDoctorT
      TutorialDoctor
      last edited by TutorialDoctor

      The Divide behavior gives 1/0 as 0.

      Also, multiplying values retrieved from an array (2x.5) using a Multiply behavior keeps yielding 0?

      For the multiplication issue, it was because the behaviors weren't connected so math was happening out of order.

      Jack8680J 1 Reply Last reply Reply Quote 0
      • Jack8680J
        Jack8680 @TutorialDoctor
        last edited by

        @TutorialDoctor well, 1/0 is undefined, so 0 should be fine when you divide by 0 for some reason, since you should just never divide by 0.

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