2
I’m having trouble printing a double number, for example I create a double type variable, and this gets a 1/3 split, it would have to show 0.3, what I have to do to print 0.3???
public class MeuTeste{
public static void main(String [] a){
double x=1;
double y=3;
System.out.println(x/y);
}
}
//0.3333333333333333
Thank you that worked for me.
– user5545
you have the Lync open?
– Silvio Andorinha