calc

Privateunrated

Content

12 lines
{=(COMMENT):The below code makes it so that when the answer is a whole number, it isn't 69.0 or something.}
{=(moneyidk):{m:{replace(÷,/):{replace(×,*):{replace(x,*):{replace(X,*):{args}}}}}}$$$}
{=(m1):{replace(.0$$$,):{moneyidk}}}
{=(MATH):{replace($$$,):{m1}}}

{=(COMMENT):The below code gives an error message if the user tries to divide by 0.}
{break({in(/0):{MATH}}==true):smh don't try to break me.}

{=(COMMENT):The below code gives an error message if the user tries to do math containing words or something.}
{break({m:abs({MATH})/1}!={m:abs({MATH})}):You sure you typed that right?}

{MATH}
Raw JSON
{
  "id": 480335,
  "created_at": "2020-12-12T13:59:46.000Z",
  "tag_name": "calc",
  "nsfw": false,
  "owner_id": "348450886575587329",
  "uses": 886,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "786681552239067246",
  "sharer": "740102606109802567",
  "content": "{=(COMMENT):The below code makes it so that when the answer is a whole number, it isn't 69.0 or something.}\n{=(moneyidk):{m:{replace(÷,/):{replace(×,*):{replace(x,*):{replace(X,*):{args}}}}}}$$$}\n{=(m1):{replace(.0$$$,):{moneyidk}}}\n{=(MATH):{replace($$$,):{m1}}}\n\n{=(COMMENT):The below code gives an error message if the user tries to divide by 0.}\n{break({in(/0):{MATH}}==true):smh don't try to break me.}\n\n{=(COMMENT):The below code gives an error message if the user tries to do math containing words or something.}\n{break({m:abs({MATH})/1}!={m:abs({MATH})}):You sure you typed that right?}\n\n{MATH}",
  "embed": "{}",
  "last_fetched": "2026-10-20T23:29:37.135Z"
}