Ticket #621 - check for power of 10