Now I am looking for the best way to reverse the digits in an integer. For instance x = 12345 should become y = 54321.
sneekula 969 Nearly a Posting Maven
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
sneekula 969 Nearly a Posting Maven
Ene Uran 638 Posting Virtuoso
Mouche
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
jrcagle 77 Practically a Master Poster
ghostdog74 57 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.