public class TestaConversao {
public static void main (String [] args) {
float pontoFlutuante = 3.14f;
double salario = 1235.50;
int valor = (int) salario;
System.out.println("valor do salario é: " + valor);
double valor1 = 0.1;
double valor2 = 0.2;
double total = valor1 + valor2;
System.out.println(total);
}
}