JS flota al porcentaje
const probability = 0.7;
const percentage = Math.round( ( probability * 100) );
console.log( percentage + "%" );
//=> 70%
KostasX
const probability = 0.7;
const percentage = Math.round( ( probability * 100) );
console.log( percentage + "%" );
//=> 70%