function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sambasamba 

String translation Integer display exception

String str = 1.0 ;

 

Integer n = Integer.valueOf(str) ;

 

exection after display Invalid integer: 1.0

 

why?

 

thanks...

 

 

 

sambasamba

Double.valueOf(Str).intValue() ;

 

 

i don't know other method..

 

thanks..