Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

convert string to double android studio

String s;
DecimalFormat dF = new DecimalFormat("0.00");
Number num = dF.parse(s);
double final = num.doubleValue();
 
PREVIOUS NEXT
Tagged: #convert #string #double #android #studio
ADD COMMENT
Topic
Name
1+5 =