tax

Privateunrated

Content

13 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}<=48958):0.99|{if({nn}<=489148):0.97|{if({nn}<=975846):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})}}
{=(result):{if({args}==):Argument is empty, provide a value.|**You should pay:** ``{rr}``
**Amount Lost:** `{takeout}`
**Tax percentage:** `{taxes}%`}}

{c:cembed {channel(id)} {"title":"Fabrication Tax Calculator","description":"{result}","thumbnail":{"url":"{server(icon)}"},"color":2880257,"footer":{"icon_url":"{user(icon)}","text":""}}}
{override}
Raw JSON
{
  "id": 401793,
  "created_at": "2020-10-31T02:32:56.000Z",
  "tag_name": "tax",
  "nsfw": false,
  "owner_id": "421413798939852800",
  "uses": 13,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "767719630570782750",
  "sharer": "814497845519974450",
  "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}<=48958):0.99|{if({nn}<=489148):0.97|{if({nn}<=975846):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{=(result):{if({args}==):Argument is empty, provide a value.|**You should pay:** ``{rr}``\n**Amount Lost:** `{takeout}`\n**Tax percentage:** `{taxes}%`}}\n\n{c:cembed {channel(id)} {\"title\":\"Fabrication Tax Calculator\",\"description\":\"{result}\",\"thumbnail\":{\"url\":\"{server(icon)}\"},\"color\":2880257,\"footer\":{\"icon_url\":\"{user(icon)}\",\"text\":\"\"}}}\n{override}",
  "embed": "{}",
  "last_fetched": "2026-10-20T22:57:50.273Z"
}