• Hotzilla@sopuli.xyz
    link
    fedilink
    arrow-up
    38
    ·
    edit-2
    3 days ago

    Yeah if you put it:

    100 - (100 x 0,1) = 90

    90 + (90 x 0,1) = 99

    It comes quite obvious. And I know the brackets are redundant, but my coder mind forces brackets to all math formulas for readability.

    Was it on purpose, maybe.

    • MacN'Cheezus@lemmy.today
      link
      fedilink
      English
      arrow-up
      16
      arrow-down
      1
      ·
      3 days ago

      Even

      100 - 10% = 90

      90 + 10% = 99

      Works better than what he did, because that’s how you’d enter it on a standard calculator.

      • MisterFrog@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        2 days ago

        100 - 10/100 ≠ 90

        I’m not a fan of this at all and wish people would treat percentages as if they were a unit. x% is x of y per 100 total.

        x% = x yi / 100 ytotal

        Where yi is the species in question.

        My cup is 90% full: My cup contains 90 unitswater / per 100 unitscup

        This is why I don’t like Baker’s percentages. I guess it makes sense, because it’s still per cent, but they’re mixing the meaning used practically everywhere else these days.

        50% water for baking isn’t 50 unitswater / per 100 unitsdough, it’s 50 unitswater / per 100 units**flour**. In my mind that means you have 33.33% hydration, not 50%…

        Just feels weird to not express that as a ratio. But I guess it’s a shorthand that works for them :/

        • MacN'Cheezus@lemmy.today
          link
          fedilink
          English
          arrow-up
          3
          ·
          2 days ago

          Yes I understand all that but I’m telling you standard calculators literally work that way.

          Just launch the calculator app on your phone or computer and give it a try, you’ll see.

          • Abnorc@lemm.ee
            link
            fedilink
            arrow-up
            2
            ·
            2 days ago

            I never used the percent button, lol. I am not about to start. Something about this doesn’t jive with my soul.

          • MisterFrog@lemmy.world
            link
            fedilink
            arrow-up
            4
            ·
            2 days ago

            This is very upsetting

            Thanks for the heads-up. I would have been happier never knowing haha

            The implied brackets. THE IMPLIED BRACKETS!! The horror.

            Thanks for the response kind soul

            • MacN'Cheezus@lemmy.today
              link
              fedilink
              English
              arrow-up
              4
              ·
              edit-2
              2 days ago

              No worries. Yeah I get that it’s a bit weird if you know how to do it properly but it’s actually a fairly helpful trick for quickly calculating discounts, which I assume is the indented use. Remember, calculators were designed for lazy business folks who suck at math.

              This is exactly how someone who failed HS math would think about the problem, and conveniently, it just works.

      • BarqsHasBite@lemmy.world
        link
        fedilink
        arrow-up
        3
        arrow-down
        2
        ·
        edit-2
        2 days ago

        Um you can type like that into a calculator? Any answers please specify an actual calculator vs computer.

        • MacN'Cheezus@lemmy.today
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 days ago

          Sure can.

          And yes I was stunned as well when I learned it, because that’s not how it’s taught in schools. I used to do exactly what the previous commenter did, and then one day I saw some illiterate mouthbreather type it in like that and I was like “nuh-uh, that’s not how that works, gimme that thing and let me show you.” And I typed it in the long and “correct” way, and whaddayaknow? Same result.

          But it makes sense when you think about it, calculators were literally invented for business use (and most business people are notoriously bad at math), and one of the most common uses in business is figuring out how much something should cost after applying a discount.

            • sin_free_for_00_days@sopuli.xyz
              link
              fedilink
              English
              arrow-up
              1
              ·
              2 days ago

              Both? The cheap simple calculators I used decades ago would work if I typed 1 then 0 then 0 then - then 1 then 0 then %. Granted, I have experience with maybe 3 calculators in my life, so I might have just gotten lucky.

    • OCATMBBL@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      3 days ago

      Readability is important. I do the same thing, because just because something is technically correct doesn’t mean there isn’t a better way to do it. I’m very pro-bracket.