taxcalc

Privateunrated

Content

13 lines
{=(ID):{if({in(k):{args}}==true):{math:trunc({replace(k,*1000):{args}})}|{if({in(K):{args}}==true):{math:trunc({replace(K,*1000):{args}})}|{if({in(m):{args}}==true):{math:trunc({replace(m,*1000000):{args}})}|{if({in(M):{args}}==true):{math:trunc({replace(M,*1000000):{args}})}|{args}}}}}}
{=(nn):{math:abs({ID})}}
{=(tt):{if({nn}<=20000):1|{if({nn}<=49500):0.99|{if({nn}<=485000):0.97|{if({nn}<=950000):0.95|0.92}}}}}
{=(taxes):{if({tt}==1):0|{if({tt}==0.99):1|{if({tt}==0.97):3|{if({tt}==0.95):5|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})}}

{tt}
{taxes}
{calc}
{rr}
{takeout}

Embed

1 line
{"color": 6598927, "author": {"name": "Dank Memer Tax Calculator", "icon_url": "https://cdn.discordapp.com/avatars/270904126974590976/a3cd5478b6c8b90b3a20a7b82d287233.png?size=1024"}, "footer": {"text": "", "icon_url": "{server(icon)}"}}
Raw JSON
{
  "id": 351079,
  "created_at": "2020-09-28T18:04:52.000Z",
  "tag_name": "taxcalc",
  "nsfw": false,
  "owner_id": "285250655176884226",
  "uses": 11,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "759801146961035344",
  "sharer": "285250655176884226",
  "content": "{=(ID):{if({in(k):{args}}==true):{math:trunc({replace(k,*1000):{args}})}|{if({in(K):{args}}==true):{math:trunc({replace(K,*1000):{args}})}|{if({in(m):{args}}==true):{math:trunc({replace(m,*1000000):{args}})}|{if({in(M):{args}}==true):{math:trunc({replace(M,*1000000):{args}})}|{args}}}}}}\n{=(nn):{math:abs({ID})}}\n{=(tt):{if({nn}<=20000):1|{if({nn}<=49500):0.99|{if({nn}<=485000):0.97|{if({nn}<=950000):0.95|0.92}}}}}\n{=(taxes):{if({tt}==1):0|{if({tt}==0.99):1|{if({tt}==0.97):3|{if({tt}==0.95):5|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\n{tt}\n{taxes}\n{calc}\n{rr}\n{takeout}",
  "embed": "{\"color\": 6598927, \"author\": {\"name\": \"Dank Memer Tax Calculator\", \"icon_url\": \"https://cdn.discordapp.com/avatars/270904126974590976/a3cd5478b6c8b90b3a20a7b82d287233.png?size=1024\"}, \"footer\": {\"text\": \"\", \"icon_url\": \"{server(icon)}\"}}",
  "last_fetched": "2026-10-20T22:37:33.587Z"
}