Skip to content

The Tale of Igor's Campaign

User Avatar
#93
Auto-translated
Zero returns. This will round down, which is what I meant. In a round, this is normal, but in the case of ceil, it needs to round up, so here's how:
function ceil(x)
y=-1;
while y
if y+1>=x then
return y+1;
y=y+1;
end;
end;
 

К А
Стикеры GBF в Telegram