tc
Privateunrated
Content
31 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}<=25000):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}}}}}Embed
1 line{"color": 4928165, "title": "Taxcalc 2.0", "description": "{{final}}"}Raw JSON
{
"id": 619446,
"created_at": "2021-02-19T14:35:16.000Z",
"tag_name": "tc",
"nsfw": false,
"owner_id": "726525457079730189",
"uses": 3,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "754473233373331476",
"sharer": "726525457079730189",
"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}<=25000):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}}}}}",
"embed": "{\"color\": 4928165, \"title\": \"Taxcalc 2.0\", \"description\": \"{{final}}\"}",
"last_fetched": "2026-10-21T00:22:16.728Z"
}