Added doubleSmallNumber function