# How I convert a number to 3 decimal points?

I’m having a problem where I can’t convert numbers to something like "0.037", given the case where I have 37 as one of these numbers, without this affecting larger numbers like "2015", which in turn manage to become "2.015". I tried approaches like: myNumber = parseFloat(myNumber.toFixed(3)); myNumber = (myNumber / 1000).toFixed(3); i keep having my… Read More How I convert a number to 3 decimal points?