I'm trying to convert weight into cash, but every time my answer is zero and I calculated here and nn should give zero kkkkk can somebody help me obs: o 5 is the price per kilo (This work will make me pass as standard give me a help pf kkkkk)
private void convertButtonActionPerformed(java.awt.event.ActionEvent evt){
double pesagem = Double.parseDouble(peso.getText());
double Result = ((5/1000)*pesagem);
textresult.setText("R$ "+Result);
}