• furry toaster@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    8 days ago

    what is the difference between an operator ane a function? is there any? one could argue that the common operators are just common useful functions and thus there is no reason why % is not one of them

    edit I thought you meant modulo operator not percent

    • asow8@mander.xyzOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      8 days ago

      Yes, it was only after the comments mentioned modulo operator that I realized the % symbol has many meanings across different disciplines. I was coming from a chemistry perspective, and I should have specified from the beginning.