How to check infinity value ? i took very large number as string when i cast to float it gives infinity value. how to check at runtime or how to catch it?ex : String x = "111111111111111111111111111112222222222222222222222222222112222";System.out.println(Float.parseFloat(x));it gives infinity.so, how to catch it?

 

This Question is not yet answered!

 
 

Related Answered Questions

 

Related Open Questions