Someone once asked me how to get the number of tens and ones from a number for a Visual Basic class they were taking.
The example stuck in my head for some reason, so I thought I'd post the solution in javascript with some form validation thrown in. Version: 1.0 |