taxcalc

Privateunrated

Content

19 lines
{=(a1):{math:round({replace(k, *10^3):{replace(K, *10^3):{replace(m, *10^6):{replace(M, *10^6):{args(1+)}}}}})}}
{=(1-taxrate):{if({a1}<=25000):1|{if({a1}<=49500):0.99|{if({a1}<=97000):0.97|{if({a1}<=712499):0.95|{if({a1}<=2299999):0.92|0.85}}}}}}
{=(taxrate):{if({a1}<=25000):0|{if({a1}<=49500):1|{if({a1}<=97000):3|{if({a1}<=712499):5|{if({a1}<=2299999):8|15}}}}}}
{=(formula1):{math:round({a1}/{1-taxrate})}}
{=(formula2):{math:round({formula1}-{a1})}}
{=(d1):{ord:{a1}}}
{=(output1):{replace(th,):{replace(st,):{replace(nd,):{replace(rd,):{ord:{math:round({replace(k,10^3):{replace(m,10^6):{replace(e,*10^):{a1}}}}/1)}}}}}}}
{=(output2):{replace(th,):{replace(st,):{replace(nd,):{replace(rd,):{ord:{math:round({replace(k,10^3):{replace(m,10^6):{replace(e,*10^):{formula1}}}}/1)}}}}}}}
{=(output3):{replace(th,):{replace(st,):{replace(nd,):{replace(rd,):{ord:{math:round({replace(k,10^3):{replace(m,10^6):{replace(e,*10^):{formula2}}}}/1)}}}}}}}
{=(display1):Original amount input: `{output1}`
Amount expected to pay: `{output2}`
Amount lost by tax: `{output3}`
Tax rate: `{taxrate}%`}
{=(display2):Argument is empty, provide a value.}
{=(display3):Your argument cannot be negative or over 1e12.}
{=(display4):Invalid input.}
{=(statement):{if({a1}<0):1|{if({a1}>1e12):2}}}
{=(display):{if({args(1)}==):{display2}|{if({d1}==<ord error>):{display4}|{or({statement}==1|{statement}==2):{display3}|{display1}}}}}
{=(COMMENT):I JUST MADE A WHOLE TAXCALC TAG IN GENERAL CHAT WITHOUT READING ANYTHING!!!}

Embed

1 line
{"color": 0, "title": "Dank Memer Tax Calculator", "footer": {"text": "Made by Bloonat!cS.", "icon_url": "{user(avatar)}"}, "thumbnail": {"url": "{server(avatar)}"}, "description": "{display}"}
Raw JSON
{
  "id": 501797,
  "created_at": "2020-12-26T06:47:35.000Z",
  "tag_name": "taxcalc",
  "nsfw": false,
  "owner_id": "676103178323886085",
  "uses": 67,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "788331023238692914",
  "sharer": "676103178323886085",
  "content": "{=(a1):{math:round({replace(k, *10^3):{replace(K, *10^3):{replace(m, *10^6):{replace(M, *10^6):{args(1+)}}}}})}}\n{=(1-taxrate):{if({a1}<=25000):1|{if({a1}<=49500):0.99|{if({a1}<=97000):0.97|{if({a1}<=712499):0.95|{if({a1}<=2299999):0.92|0.85}}}}}}\n{=(taxrate):{if({a1}<=25000):0|{if({a1}<=49500):1|{if({a1}<=97000):3|{if({a1}<=712499):5|{if({a1}<=2299999):8|15}}}}}}\n{=(formula1):{math:round({a1}/{1-taxrate})}}\n{=(formula2):{math:round({formula1}-{a1})}}\n{=(d1):{ord:{a1}}}\n{=(output1):{replace(th,):{replace(st,):{replace(nd,):{replace(rd,):{ord:{math:round({replace(k,10^3):{replace(m,10^6):{replace(e,*10^):{a1}}}}/1)}}}}}}}\n{=(output2):{replace(th,):{replace(st,):{replace(nd,):{replace(rd,):{ord:{math:round({replace(k,10^3):{replace(m,10^6):{replace(e,*10^):{formula1}}}}/1)}}}}}}}\n{=(output3):{replace(th,):{replace(st,):{replace(nd,):{replace(rd,):{ord:{math:round({replace(k,10^3):{replace(m,10^6):{replace(e,*10^):{formula2}}}}/1)}}}}}}}\n{=(display1):Original amount input: `{output1}`\nAmount expected to pay: `{output2}`\nAmount lost by tax: `{output3}`\nTax rate: `{taxrate}%`}\n{=(display2):Argument is empty, provide a value.}\n{=(display3):Your argument cannot be negative or over 1e12.}\n{=(display4):Invalid input.}\n{=(statement):{if({a1}<0):1|{if({a1}>1e12):2}}}\n{=(display):{if({args(1)}==):{display2}|{if({d1}==<ord error>):{display4}|{or({statement}==1|{statement}==2):{display3}|{display1}}}}}\n{=(COMMENT):I JUST MADE A WHOLE TAXCALC TAG IN GENERAL CHAT WITHOUT READING ANYTHING!!!}",
  "embed": "{\"color\": 0, \"title\": \"Dank Memer Tax Calculator\", \"footer\": {\"text\": \"Made by Bloonat!cS.\", \"icon_url\": \"{user(avatar)}\"}, \"thumbnail\": {\"url\": \"{server(avatar)}\"}, \"description\": \"{display}\"}",
  "last_fetched": "2026-10-20T23:36:37.500Z"
}