Java converte flutuar para dobrar
float myFloat = x; //your float
double d = (double)myFloat;
PizzaSolver
float myFloat = x; //your float
double d = (double)myFloat;
double d = getInfoValueNumeric();
float f = (float)d;