taxcalc
Privateunrated
Content
14 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}<=49500):0.99|{if({nn}<=485000):0.97|{if({nn}<=999999):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.|Amount expected to pay: `{rr}`
Amount lost by tax: `{takeout}`
Amount received: `{math:round({rr}-{takeout})}`
Tax paid: `{taxes}%`}}
{embed(title):Tax Calculator}
{embed(description):{result}}
{embed(timestamp):now}Embed
1 line{"color": 5761404, "image": {"url": "https://media.discordapp.net/attachments/712459750234914866/759183446106046464/dqyFQp.gif"}, "author": {"name": "Eternal Dankers Taxcalc", "icon_url": "https://media.discordapp.net/attachments/746076829164634153/750179838630821965/eternallogo.gif"}, "footer": {"text": "Command used by {user(proper)}", "icon_url": "{user(icon)}"}, "timestamp": "2020-09-29T06:00:00.000"}Raw JSON
{
"id": 352277,
"created_at": "2020-09-29T14:13:23.000Z",
"tag_name": "taxcalc",
"nsfw": false,
"owner_id": "599094069838348289",
"uses": 166,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "629990346226532353",
"sharer": "599094069838348289",
"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}<=49500):0.99|{if({nn}<=485000):0.97|{if({nn}<=999999):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.|Amount expected to pay: `{rr}`\nAmount lost by tax: `{takeout}`\nAmount received: `{math:round({rr}-{takeout})}`\nTax paid: `{taxes}%`}}\n{embed(title):Tax Calculator}\n{embed(description):{result}}\n{embed(timestamp):now}",
"embed": "{\"color\": 5761404, \"image\": {\"url\": \"https://media.discordapp.net/attachments/712459750234914866/759183446106046464/dqyFQp.gif\"}, \"author\": {\"name\": \"Eternal Dankers Taxcalc\", \"icon_url\": \"https://media.discordapp.net/attachments/746076829164634153/750179838630821965/eternallogo.gif\"}, \"footer\": {\"text\": \"Command used by {user(proper)}\", \"icon_url\": \"{user(icon)}\"}, \"timestamp\": \"2020-09-29T06:00:00.000\"}",
"last_fetched": "2026-10-20T22:37:41.457Z"
}