taxcalc

Privateunrated

Content

37 lines
{require(No?):663502776952815626}

{=(largs):{lower:{args(1)}}}

{=(equation):{replace(π,pi):{replace(÷,/):{replace(x,*):{replace(m,e6):{replace(k,e3):{replace(b,e9):{replace( ,):{largs}}}}}}}}}

{=(title):Dank Memer Tax Calculator}
{=(taxnumber):3}
{=(taxd):0.97}
{=(pay):{m:round({equation}/{taxd})}}
{=(loss):{m:round({pay}-{equation})}}

{=(f.original):{replace(<o error>,Error. Invalid input.):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{m:round({equation})}}}}}}}}

{=(f.pay):{replace(<o error>,Error. Invalid input.):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{pay}}}}}}}}

{=(f.loss):{replace(<o error>,Error. Invalid input.):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{loss}}}}}}}}

{=(output):Tax payment: `{taxnumber}%`

Original amount input: `{f.original}`
Amount lost by tax: `{f.loss}`
Amount expected to pay: 
```{f.pay}```}

{=(error):Error. Invalid Input. Provide an amount to calculate tax with.
**Example:** `[p]taxcalc <amt>`.}

{=(blah):{if({args(1)}==):{error}|{output}}}

{=(clr.black):080000}
{=(clr.blurp):7289da}
{=(em.color):{if({1}==):{clr.black}|{if({in(Error. Invalid input.):{output}}==true):{clr.black}|{clr.blurp}}}}
{embed(color):#{em.color}}

{=(output):{and(!={largs}|{in({m:sgn({equation})}):0 1}==true):`pls give {pay}`}}
{output}

Embed

1 line
{"color": 5198940, "title": "{title}", "fields": [{"name": "Calculation: ", "value": "{blah}", "inline": false}], "footer": {"text": "Dank Vibes", "icon_url": "{server(icon)}"}}
Raw JSON
{
  "id": 265128,
  "created_at": "2020-07-26T14:48:50.000Z",
  "tag_name": "taxcalc",
  "nsfw": false,
  "owner_id": "515725341910892555",
  "uses": 76983,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "595457764935991326",
  "sharer": "515725341910892555",
  "content": "{require(No?):663502776952815626}\n\n{=(largs):{lower:{args(1)}}}\n\n{=(equation):{replace(π,pi):{replace(÷,/):{replace(x,*):{replace(m,e6):{replace(k,e3):{replace(b,e9):{replace( ,):{largs}}}}}}}}}\n\n{=(title):Dank Memer Tax Calculator}\n{=(taxnumber):3}\n{=(taxd):0.97}\n{=(pay):{m:round({equation}/{taxd})}}\n{=(loss):{m:round({pay}-{equation})}}\n\n{=(f.original):{replace(<o error>,Error. Invalid input.):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{m:round({equation})}}}}}}}}\n\n{=(f.pay):{replace(<o error>,Error. Invalid input.):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{pay}}}}}}}}\n\n{=(f.loss):{replace(<o error>,Error. Invalid input.):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{loss}}}}}}}}\n\n{=(output):Tax payment: `{taxnumber}%`\n\nOriginal amount input: `{f.original}`\nAmount lost by tax: `{f.loss}`\nAmount expected to pay: \n```{f.pay}```}\n\n{=(error):Error. Invalid Input. Provide an amount to calculate tax with.\n**Example:** `[p]taxcalc <amt>`.}\n\n{=(blah):{if({args(1)}==):{error}|{output}}}\n\n{=(clr.black):080000}\n{=(clr.blurp):7289da}\n{=(em.color):{if({1}==):{clr.black}|{if({in(Error. Invalid input.):{output}}==true):{clr.black}|{clr.blurp}}}}\n{embed(color):#{em.color}}\n\n{=(output):{and(!={largs}|{in({m:sgn({equation})}):0 1}==true):`pls give {pay}`}}\n{output}",
  "embed": "{\"color\": 5198940, \"title\": \"{title}\", \"fields\": [{\"name\": \"Calculation: \", \"value\": \"{blah}\", \"inline\": false}], \"footer\": {\"text\": \"Dank Vibes\", \"icon_url\": \"{server(icon)}\"}}",
  "last_fetched": "2026-10-20T22:03:39.809Z"
}