Code:
Scanner sc = new Scanner("konta//"+NumerKonta+".txt");
double sr_dost = sc.nextDouble();
i wanna look for a double in a file
while(sc.hasMoreTokens())
{
if(sc.hasNextDouble())
{
x = sc.nextDouble();
}
else
{
sc.next();
}
}
Comment