javascript convert int to float with 2 decimal places

84

javascript convert int to float with 2 decimal places -

float_num.toFixed(2);

convert int to float in javascript -

parseFloat("4").toFixed(2)

Comments

Submit
0 Comments