number without decimal code example
Example: javascript how to take off a decimal
function png(){
return Math.trunc(Math.random() * 10);
}
//Removes the decimal without rounding
function png(){
return Math.trunc(Math.random() * 10);
}
//Removes the decimal without rounding