JavaScript Jak zdjąć dziesiętne
function png(){
return Math.trunc(Math.random() * 10);
}
//Removes the decimal without rounding
Crazy Cod
function png(){
return Math.trunc(Math.random() * 10);
}
//Removes the decimal without rounding
string.split(".")[0];