calc
Privateunrated
Content
21 lines{=(COMMENT):The below code makes it so that when the answer is a whole number, it isn't 69.0 or something.}
{=(moneyidk):{m:{args}}$$$}
{=(m1):{replace(.0$$$,):{moneyidk}}}
{=(m2):{replace($$$,):{m1}}}
{=(COMMENT):The below code gives an error message if the user tries to divide by 0.}
{break({in(/0):{m2}}==true):smh don't try to break me.}
{=(COMMENT):The below code is really complicated and unimportant and I made this part at 3:00am. If you really care DM me lol.}
{=(number1):{join(,):{replace(., ):{m2}}}}
{=(whole):{list(0):{number1}}}
{=(decimal1):{list(1):{number1}}}
{=(spaceddecimal):{replace(, ):{decimal1}}}
{=(decimal):{replace( ,):{spaceddecimal(+13)}}}
{=(isdecimal?):{if({decimal}!=):.|}}
{=(number):{whole}{isdecimal?}{decimal}}
{=(COMMENT):The below code gives an error message if the user tries to do math containing words or something.}
{break({m:abs({number})/1}!={m:abs({number})}):You sure you typed that right?}
{number}Raw JSON
{
"id": 176164,
"created_at": "2022-04-26T10:36:03.652Z",
"tag_name": "calc",
"nsfw": false,
"owner_id": "680178137090359319",
"uses": 1,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "709290670581350482",
"sharer": "714290668444319784",
"content": "{=(COMMENT):The below code makes it so that when the answer is a whole number, it isn't 69.0 or something.}\n{=(moneyidk):{m:{args}}$$$}\n{=(m1):{replace(.0$$$,):{moneyidk}}}\n{=(m2):{replace($$$,):{m1}}}\n\n{=(COMMENT):The below code gives an error message if the user tries to divide by 0.}\n{break({in(/0):{m2}}==true):smh don't try to break me.}\n\n{=(COMMENT):The below code is really complicated and unimportant and I made this part at 3:00am. If you really care DM me lol.}\n{=(number1):{join(,):{replace(., ):{m2}}}}\n{=(whole):{list(0):{number1}}}\n{=(decimal1):{list(1):{number1}}}\n{=(spaceddecimal):{replace(, ):{decimal1}}}\n{=(decimal):{replace( ,):{spaceddecimal(+13)}}}\n{=(isdecimal?):{if({decimal}!=):.|}}\n{=(number):{whole}{isdecimal?}{decimal}}\n\n{=(COMMENT):The below code gives an error message if the user tries to do math containing words or something.}\n{break({m:abs({number})/1}!={m:abs({number})}):You sure you typed that right?}\n\n{number}",
"embed": "{}",
"last_fetched": "2026-10-20T21:24:32.959Z"
}