I have many out.write lines of code (515 in total) that build an excel.xml file. I now need to be able to build a out.write line of code to include values from a string. Here is an out.write code line
out.write (" <Cell ss:StyleID=\"s44\"><Data ss:Type=\"Number\">25</Data><NamedCell ss:Name=\"Print_Area\"/></Cell>\r\n");
and I would like to replace the 25 with the string value square_area_feet_result
double square_area_feet = square_area_inches / sqin_to_sqft;
String square_area_feet_result = String.format("%.4f", square_area_feet);
m1_sa_ft.setText(square_area_feet_result);
the out.write seems quite literal so maybe I have to first build everything after out.write?
if i get it well, then the answer may be this :
Regards,