taxcalc

Privateunrated

Content

12 lines
{=(ID):{if({in(k):{args}}==true):{math:trunc({replace(k, ):{args}}*1000)}|{if({in(K):{args}}==true):{math:trunc({replace(k, ):{args}}*1000)}|{if({in(m):{args}}==true):{math:trunc({replace(m, ):{args}}*1000000)}|{if({in(M):{args}}==true):{math:trunc({replace(M, ):{args}}*1000000)}|{args}}}}}}
{=(nn):{math:abs({ID})}}
{=(tt):{if({nn}<=20000):1|{if({nn}<=49999):0.99|{if({nn}<=499999):0.97|{if({nn}<=999999):0.95|{if({nn}<=1000000):0.92|0.8}}}}}}
{=(taxes):{if({tt}==1):0|{if({tt}==0.99):1|{if({tt}==0.97):3|{if({tt}==0.95):5|{if({tt}==0.92):8|8}}}}}}
{=(calc):{math:round({nn}/{tt})}}
{=(rr):{if({nn}=={m:trunc({nn}/1)}):{calc}|{if({nn}=={m:{nn}/1}):{calc}|}}}
{=(takeout):{math:trunc({rr}-{nn})}}
{=(result):{if({args}==):Argument is empty, provide a value.|Amount expected to pay: `{rr}`
Amount lost by tax: `{takeout}`
Tax paid: `{taxes}%`}}

{embed(timestamp):now}

Embed

1 line
{"color": 6598927, "title": "Dank Memer Tax Calculator", "description": "{result}\n\n"}
Raw JSON
{
  "id": 262304,
  "created_at": "2022-04-26T10:37:01.334Z",
  "tag_name": "taxcalc",
  "nsfw": false,
  "owner_id": "387021787160117248",
  "uses": 155,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "734229504037224498",
  "sharer": "733370212199694467",
  "content": "{=(ID):{if({in(k):{args}}==true):{math:trunc({replace(k, ):{args}}*1000)}|{if({in(K):{args}}==true):{math:trunc({replace(k, ):{args}}*1000)}|{if({in(m):{args}}==true):{math:trunc({replace(m, ):{args}}*1000000)}|{if({in(M):{args}}==true):{math:trunc({replace(M, ):{args}}*1000000)}|{args}}}}}}\n{=(nn):{math:abs({ID})}}\n{=(tt):{if({nn}<=20000):1|{if({nn}<=49999):0.99|{if({nn}<=499999):0.97|{if({nn}<=999999):0.95|{if({nn}<=1000000):0.92|0.8}}}}}}\n{=(taxes):{if({tt}==1):0|{if({tt}==0.99):1|{if({tt}==0.97):3|{if({tt}==0.95):5|{if({tt}==0.92):8|8}}}}}}\n{=(calc):{math:round({nn}/{tt})}}\n{=(rr):{if({nn}=={m:trunc({nn}/1)}):{calc}|{if({nn}=={m:{nn}/1}):{calc}|}}}\n{=(takeout):{math:trunc({rr}-{nn})}}\n{=(result):{if({args}==):Argument is empty, provide a value.|Amount expected to pay: `{rr}`\nAmount lost by tax: `{takeout}`\nTax paid: `{taxes}%`}}\n\n{embed(timestamp):now}",
  "embed": "{\"color\": 6598927, \"title\": \"Dank Memer Tax Calculator\", \"description\": \"{result}\\n\\n\"}",
  "last_fetched": "2026-10-20T22:02:40.447Z"
}