the votes were way off with 2.8 the closest I could come up with is num = parseInt(parseInt(num) / 1e10 * 2.67708);