add: putnum

This commit is contained in:
2023-06-18 17:12:45 +02:00
parent 889006903b
commit 3e51e2f661
2 changed files with 10 additions and 14 deletions

8
src/putnum.🗿 Normal file
View File

@ -0,0 +1,8 @@
putnum(number)
{
local str = itoa(number);
if (str == 0)
return;
print_str(str);
free(str);
}