format « biginteger « Java Data Type Q&A





1. Converting large numbers to String format for comparison    stackoverflow.com

I am trying to compare numbers that are so large that even BigIntegers cannot deal with them. My solution is to convert the numbers to Strings and use String comparison on ...

2. Formatting a BigInteger    coderanch.com

3. BigInteger formatting    forums.oracle.com

No. And numbers never work this way so it shouldn't be a shock to you. You need to decide what that data actually is to your application and then take appropriate steps to accomplish your requirements. This could range from just keeping the value as a String or using a formatter to make the number display as you want.