JS Float32Array до процента

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