# Changing the exponential number into normal readable number format?

Amandeep Singh

Ranch Hand

Posts: 850

posted 7 years ago

Actually in my code, floatValue of BigDecimal was taken. for bigger numbers onwards 17548097, it starts losing its precision and starts giving a difference of value 1. So thats why now i decided to take the doubleValue of BigDecimal.

I am just doing this test :

but the output i do get is in exponential form. I want to change it into simple number. How is it this possible ?

I am just doing this test :

but the output i do get is in exponential form. I want to change it into simple number. How is it this possible ?

SCJP 1.4, SCWCD 5, SCBCD 5, OCPJWSD 5,SCEA-1, Started Assignment Part 2

My blog- http://rkydesigns.blogspot.com

Amandeep Singh

Ranch Hand

Posts: 850

posted 7 years ago

Looks like this is the correct choice to be followed:

I checked using this code, Double value do not precision up to Double.MAX_VALUE

but when i do see this value Double.MAX_VALUE, it comes up in exponential format.

need to change the exponential format number into number represented without exponential format .

I checked using this code, Double value do not precision up to Double.MAX_VALUE

but when i do see this value Double.MAX_VALUE, it comes up in exponential format.

need to change the exponential format number into number represented without exponential format .

My blog- http://rkydesigns.blogspot.com

Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |