Give me a native (no jQuery, Prototype, etc. please) JavaScript function that converts numbers as follows:
input: 0.39, 2.5, 4.25, 5.5, 6.75, 7.75, 8.5 outpu
input = 0.3; output = input.toFixed(2); //output: 0.30