Related Posts
The Internet Quiz – I scored 96% and you?
Philadelphia Dating
JavaScript: Get how many digits are there in a decimal number
/** * 1 + Floor(LogBase10(number)) * */ function digits(n) { return 1+Math.floor(Math.log(n)/Math.log(10)); } Yes, javascript doesn’t have a Math.log10() function. I tried doing it by dividing by Math.ln10 constant but the function won’t return the correct number of digits when you pass numbers like 100,1000,10000,etc. So I just divided by Math.log(10) and it seems to […]
Leona Lewis – Bleeding Love (Moto Blanco Vocal Funky Club Mix)
I can’t stop playing this remix, here’s the file page at mybloop.com