A calculator that calculates math equations. This calculator also follows order of operations unlike other ones and you can use parentheses inside of the function. Can be used on any platform (not just cdo) that can use modern html. Just add a <script> tag then put the code below inside it.

function Solve(problem) {var Equation = problem;console.log("Answer: "+Math.abs(Equation));}

    reminds me of a "library" i saw on cdo a couple of years back
    it had like function cLog(e){console.log(e);} or something funny like that

      ackvonhuelio i remember seeing a library that had a print function in it 💀

      Awards

      • Ⓒ 1 from gZany
        Comment: 🫠

        Varrience Have you seen Sam's libraries? In his games, he imports around 12 libraries (each have EXACTLY 1 FUNCTION IN IT), garbage like function colFill(c){fill(c)}. I'm genuinely not lying, saw this with my own eyes. Oh, and before each functions, he makes sure to put "Made by Sam" so nobody steals his amazing work.

        Awards

        • Ⓒ 1 from Letti42
          Comment: genius

          Ravage
          fill();??!?!?

          thats... like... exactly what sam's function does!!

          wait a second... are you STEALING sam's amazing work??!?

          Awards

          • Ⓒ 1 from Varrience
            Comment: Of course not this should count as adamant payment for such a function

          gZany unfortunately this library does not work. it says 1-2 is equal to 1, which is clearly wrong.

          i would sugegst using eval instead of Math.abs. this is a very safe and secure method that will get you the results you want.

          function Solve(problem) {var Equation = problem;console.log("Answer: "+eval(Equation));}

            Letti42 Yes! As opposed to using Math.abs(), with eval(), you can make extremely complex calculations! In fact, you can even pull data from keyValues and execute an equation by passing "getKeyValue(\"a\",function(e){eval(e)})" to it!

              Ravage
              Yeah… using eval on a key value certainly won’t result in anything bad happening

                speaking of useless libraries have you ever wanted a worthless type comparison library?
                yes? https://studio.code.org/projects/gamelab/whCnaxoJmebV59jfhRoL_MNeHcyq_h_oJ6S6RrM3lAU
                here! bro like only one i think actually was useful, how are you gonna compare the type if it's literally on the fucking constructor object LMFAO ohh and your gonna test if null is really null? Oh wow by god have i bleached my eyes seeing such a fucking comparison in my life just use !== null like omfg setting Null as anything is like the worst thing ever....

                sigh well can't be mad at newbies but still like you don't need a fucking function for everything like dayum

                  Varrience Ha, I saw that! Made by that idiot who also made "BetterVault," which, as you and @ackvonhuelio know, wasn't exactly better.

                  Also, why did you start speaking in the hood style: "bro like," "dayum," f quite a few times?

                    Ravage just how i felt that day when i saw it and it captures everything wrong with it 🤷‍♂️ and probably because i busted my ass making a better polyfill library
                    should i have come off more passive agressive? I think i have some right to be genuinely pissed off

                    Ravage ‘bro like’ isn’t the hood😭

                    Dayum is more like something someone with a 2023 Roblox avatar would say.

                    Awards

                    • Ⓒ 28 from Varrience
                      Comment: I mean i thought it was a pretty normal message from me.... idrk does anyone else think the way i speak in different messages is awkward since this is pretty much the 3rd time Ravenge pointed it out I'm genuinely curious

                      Letti42 the issue is that is finds the absolute value. Absolute values are always positive.

                      gZany @Varrience I think the way you talk is just fine. After all, everyone has their own style whatever works for you works for you

                      Chat