how to array match method with float value in javascript code example Example: convert int to float in javascript parseFloat("4").toFixed(2)