calculator

Private

Content

17 lines
{=(largs):{lower:{args}}}

{=(equation):{replace(Z,):{replace(.0Z,):{m:{replace(π,pi):{replace(sqrt,^(1/2)):{replace(÷,/):{replace(x,*):{replace(b,e9):{replace(m,e6):{replace(k,e3):{replace( ,):{largs}}}}}}}}}}Z}}}
{=(equation):{replace(<o error>,Error. Invalid input.):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{equation(1):.}}{if({equation(2+):.}!=):.{equation(2+):.}}}}}}}}

{=(title):Calculator}
{=(thumbnail):{replace(1200px,250px):https://upload.wikimedia.org/wikipedia/commons/thumb/b/bc/GNOME_Calculator_icon_2018.svg/1200px-GNOME_Calculator_icon_2018.svg.png}}

{=(input):{if({1}==):No input provided.|{replace( ,):{largs}}}}

{=(error):-}
{=(output):{if({1}==):{error}|{equation}}}

{=(clr.red):FF2929}
{=(clr.gray):2f3136}
{=(em.color):{if({1}==):{clr.red}|{if({in(Error. Invalid input.):{equation}}==true):{clr.red}|2F3136}}}
{embed(color):#{em.color}}

Embed

1 line
{"color": 0, "title": "{title}", "fields": [{"name": "Input", "value": "```\n{input}```", "inline": false}, {"name": "Output", "value": "```\n{output}```", "inline": false}], "thumbnail": {"url": "{thumbnail}"}}
Raw JSON
{
  "id": 724955,
  "created_at": "2021-04-03T17:26:32.000Z",
  "tag_name": "calculator",
  "nsfw": false,
  "owner_id": "358325195443798020",
  "uses": 109083,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "",
  "hidden": false,
  "guild_id": "708621589800943656",
  "sharer": "467508213429043212",
  "content": "{=(largs):{lower:{args}}}\n\n{=(equation):{replace(Z,):{replace(.0Z,):{m:{replace(π,pi):{replace(sqrt,^(1/2)):{replace(÷,/):{replace(x,*):{replace(b,e9):{replace(m,e6):{replace(k,e3):{replace( ,):{largs}}}}}}}}}}Z}}}\n{=(equation):{replace(<o error>,Error. Invalid input.):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{equation(1):.}}{if({equation(2+):.}!=):.{equation(2+):.}}}}}}}}\n\n{=(title):Calculator}\n{=(thumbnail):{replace(1200px,250px):https://upload.wikimedia.org/wikipedia/commons/thumb/b/bc/GNOME_Calculator_icon_2018.svg/1200px-GNOME_Calculator_icon_2018.svg.png}}\n\n{=(input):{if({1}==):No input provided.|{replace( ,):{largs}}}}\n\n{=(error):-}\n{=(output):{if({1}==):{error}|{equation}}}\n\n{=(clr.red):FF2929}\n{=(clr.gray):2f3136}\n{=(em.color):{if({1}==):{clr.red}|{if({in(Error. Invalid input.):{equation}}==true):{clr.red}|2F3136}}}\n{embed(color):#{em.color}}",
  "embed": "{\"color\": 0, \"title\": \"{title}\", \"fields\": [{\"name\": \"Input\", \"value\": \"```\\n{input}```\", \"inline\": false}, {\"name\": \"Output\", \"value\": \"```\\n{output}```\", \"inline\": false}], \"thumbnail\": {\"url\": \"{thumbnail}\"}}",
  "last_fetched": "2026-10-21T00:57:18.664Z"
}