JS float32Array ke persentase

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