You could multiply by 10,000 and skip the loop.