How to formal float 0.5 to float 0.50 : I am studying FreeCodeCamp course-"Exact Change".
I need to convert float-type-data 0.5 to float-type-data 0.50, I have try some solutions but not work!

float.toFixed(2) return a string-type "0.50", and if I use parseFloat("0.50") it will return float-type-data 0.5!

How can i solve this issue?