[ad_1]
try this:
public String getTestGauge(){
return String.valueOf(<yourdouble>);
}
–> this is prettier
return (new Double(<yourdouble>).toString());
[ad_2]
solved Converting double to string with a return
[ad_1]
try this:
public String getTestGauge(){
return String.valueOf(<yourdouble>);
}
–> this is prettier
return (new Double(<yourdouble>).toString());
[ad_2]
solved Converting double to string with a return