taxcalc

Privateunrated

Content

17 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):0.97}
{=(taxes):3}
{=(calc):{m:round({nn}/{tt})}} 
{=(rr):{if({nn}=={m:trunc({nn}/1)}):{calc}|{if({nn}=={m:{nn}/1}):{calc}|}}} 
{=(takeout):{m:round({rr}-{nn})}}
{=(result):{if({args}==):Argument is empty, provide a value.|Amount entered: `{m:trunc({nn})}`
Amount expected to pay: `{rr}`
Amount lost by tax: `{takeout}`
Tax paid: `{taxes}%}`}

{rr}
{c:cembed {channel(id)} {"title":"Dank Memer Tax Calculator","description":"{result}","thumbnail":{"url":"{server(icon)}"},"color":2880257,"footer":{"icon_url":"{user(icon)}","text":"The amount is provided below for easy copypaste purposes on mobile"}}}
{override}

{=(COMMENT):Unless you know what you're doing please do not touch this.}
Raw JSON
{
  "id": 594292,
  "created_at": "2021-02-09T13:06:41.000Z",
  "tag_name": "taxcalc",
  "nsfw": false,
  "owner_id": "502114217219063809",
  "uses": 395,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "790870057650880532",
  "sharer": "756371841379205181",
  "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):0.97}\n{=(taxes):3}\n{=(calc):{m:round({nn}/{tt})}} \n{=(rr):{if({nn}=={m:trunc({nn}/1)}):{calc}|{if({nn}=={m:{nn}/1}):{calc}|}}} \n{=(takeout):{m:round({rr}-{nn})}}\n{=(result):{if({args}==):Argument is empty, provide a value.|Amount entered: `{m:trunc({nn})}`\nAmount expected to pay: `{rr}`\nAmount lost by tax: `{takeout}`\nTax paid: `{taxes}%}`}\n\n{rr}\n{c:cembed {channel(id)} {\"title\":\"Dank Memer Tax Calculator\",\"description\":\"{result}\",\"thumbnail\":{\"url\":\"{server(icon)}\"},\"color\":2880257,\"footer\":{\"icon_url\":\"{user(icon)}\",\"text\":\"The amount is provided below for easy copypaste purposes on mobile\"}}}\n{override}\n\n{=(COMMENT):Unless you know what you're doing please do not touch this.}",
  "embed": "{}",
  "last_fetched": "2026-10-21T00:12:13.777Z"
}