how to remove floting point numbers in javacript 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