taxcalc

Privateunrated

Content

32 lines
{=(math):{replace(e*,*1000):{replace(e,*10^):{replace(k,*1000):{replace(m,*1000000):{replace(-,):{replace(|,):{args(1)}}}}}}}}
{=(math2):{replace(e*,*1000):{replace(e,*10^):{replace(k,*1000):{replace(m,*1000000):{replace(-,):{replace(|,):{args(2)}}}}}}}}
{=(m):{math:round({math:({math})}*1)}}
{=(m2):{math:round({math:({math2})}*1)}}
{=(tax):{if({args(1)}==):0|{if({m2}<=20000):0|{if({m2}<=50000):1|{if({m2}<=100000):3|{if({m2}<=750000):5|{if({m2}<=2500000):8|{if({m2}>=2500000):15|error}}}}}}}}
{=(t2):{math:round({m2}*{math:({math:(100-{tax})}/100)})}}
{=(math1):{math:round({math:({math:({m}/{t2})}/1)}*1)}}
{=(met):{math:round({m}-{math:({t2}*{math1})})}}
{=(tax69):{if({args(1)}==):0|{if({met}<=20000):0|{if({met}<=49500):1|{if({met}<=97000):3|{if({met}<=712500):5|{if({met}<=2300000):8|{if({met}>=2300000):15|error}}}}}}}}
{=(met2):{math:trunc({math:abs({met}/{math:({math:round(100-{tax69})}/100)})}*1)}}
{=(taxer):{if({args(1)}==):0|{if({m2}<=20000):0|{if({m2}<=49500):1|{if({m2}<=97000):3|{if({m2}<=712500):5|{if({m2}<=2300000):8|{if({m2}>=2300000):15|error}}}}}}}}
{=(nab):0.{math:round(100-{taxer})}}
{=(ree):{math:round({m}/{if({nab}==0.100):1|{nab}})}}
{=(prol):{math:abs({m2}-{ree})}}
{=(lis):{math:round(({m2}*{math1})+({m2}-{t2})*{math1}+{met2})}}
{=(input1):**The double taxcalc!**
Putting in 1 number will act as a normal tax calculator.
Putting in 2 will result in the advanced tax calculator.}
{=(input2):Amount input - `{m2}`
Amount to pay - `{ree}`
Amount lost by tax - `{replace(.0,):{prol}}`
Tax percentage - `{taxer}%`}
{=(input3):Amount paid (full) - `{m}`
Increment amount - `{m2}`
Number of increments - `{math1}`
Increment amount (after tax) - `{t2}`
Amount left (including tax) - `{met2}`
Amount Payed Total (including tax) - `{lis}`}
{=(error1):```Please input valid arguments```}
{=(error2):```Your second number must be less than the first```}
{=(final):{if({args(1)}==):input1|{if({math:(({m}+{m2})*0)}!=0.0):error1|{if({args(1)}=={args(2)}):input2|{if({in(-):{math:({m}-{m2})}}==true):error2|input3}}}}}
bonk

Embed

1 line
{"color": 4928165, "title": "Taxcalc 2.0", "footer": {"text": "Made by Gouda (inspired by Bloonat!cs.)"}, "description": "{{final}}"}
Raw JSON
{
  "id": 475985,
  "created_at": "2020-12-09T21:27:25.000Z",
  "tag_name": "taxcalc",
  "nsfw": false,
  "owner_id": "561299364111187978",
  "uses": 269,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "786304242134417459",
  "sharer": "571118705917034518",
  "content": "{=(math):{replace(e*,*1000):{replace(e,*10^):{replace(k,*1000):{replace(m,*1000000):{replace(-,):{replace(|,):{args(1)}}}}}}}}\n{=(math2):{replace(e*,*1000):{replace(e,*10^):{replace(k,*1000):{replace(m,*1000000):{replace(-,):{replace(|,):{args(2)}}}}}}}}\n{=(m):{math:round({math:({math})}*1)}}\n{=(m2):{math:round({math:({math2})}*1)}}\n{=(tax):{if({args(1)}==):0|{if({m2}<=20000):0|{if({m2}<=50000):1|{if({m2}<=100000):3|{if({m2}<=750000):5|{if({m2}<=2500000):8|{if({m2}>=2500000):15|error}}}}}}}}\n{=(t2):{math:round({m2}*{math:({math:(100-{tax})}/100)})}}\n{=(math1):{math:round({math:({math:({m}/{t2})}/1)}*1)}}\n{=(met):{math:round({m}-{math:({t2}*{math1})})}}\n{=(tax69):{if({args(1)}==):0|{if({met}<=20000):0|{if({met}<=49500):1|{if({met}<=97000):3|{if({met}<=712500):5|{if({met}<=2300000):8|{if({met}>=2300000):15|error}}}}}}}}\n{=(met2):{math:trunc({math:abs({met}/{math:({math:round(100-{tax69})}/100)})}*1)}}\n{=(taxer):{if({args(1)}==):0|{if({m2}<=20000):0|{if({m2}<=49500):1|{if({m2}<=97000):3|{if({m2}<=712500):5|{if({m2}<=2300000):8|{if({m2}>=2300000):15|error}}}}}}}}\n{=(nab):0.{math:round(100-{taxer})}}\n{=(ree):{math:round({m}/{if({nab}==0.100):1|{nab}})}}\n{=(prol):{math:abs({m2}-{ree})}}\n{=(lis):{math:round(({m2}*{math1})+({m2}-{t2})*{math1}+{met2})}}\n{=(input1):**The double taxcalc!**\nPutting in 1 number will act as a normal tax calculator.\nPutting in 2 will result in the advanced tax calculator.}\n{=(input2):Amount input - `{m2}`\nAmount to pay - `{ree}`\nAmount lost by tax - `{replace(.0,):{prol}}`\nTax percentage - `{taxer}%`}\n{=(input3):Amount paid (full) - `{m}`\nIncrement amount - `{m2}`\nNumber of increments - `{math1}`\nIncrement amount (after tax) - `{t2}`\nAmount left (including tax) - `{met2}`\nAmount Payed Total (including tax) - `{lis}`}\n{=(error1):```Please input valid arguments```}\n{=(error2):```Your second number must be less than the first```}\n{=(final):{if({args(1)}==):input1|{if({math:(({m}+{m2})*0)}!=0.0):error1|{if({args(1)}=={args(2)}):input2|{if({in(-):{math:({m}-{m2})}}==true):error2|input3}}}}}\nbonk",
  "embed": "{\"color\": 4928165, \"title\": \"Taxcalc 2.0\", \"footer\": {\"text\": \"Made by Gouda (inspired by Bloonat!cs.)\"}, \"description\": \"{{final}}\"}",
  "last_fetched": "2026-10-20T23:27:37.792Z"
}