Beautify Integer values for comparing as strings

Posted by Zahra on Stack Overflow See other posts from Stack Overflow or by Zahra
Published on 2010-06-10T13:32:37Z Indexed on 2010/06/10 13:42 UTC
Read the original article Hit count: 198

Filed under:
|
|
|
|

Hi.

For some reason I need to enter my integer values to database as string, then I want to run a query on them and compare those integers as strings. Is there any way to beautify integer numbers (between 1 and 1 US billion as an example) so I can compare them as strings?

Thanks in advance.

© Stack Overflow or respective owner

Related posts about java

Related posts about string