All pastes #472280 Raw Edit

posi

public java v1 · immutable
·published 2007-05-05 13:33 UTC
rendered paste body
public static void main (String... args) {  double fuellstand;  double verbrauch;  try {    fuellstand = Double.parseDouble(args[0]);    verbrauch = Double.parseDouble(args[1]);    // ok  } catch (NumberFormatException e) {    // fehler  }}