Hi there,
Very new to android and java..
Making simple conversion app, the issue is I end up with scientific notation for bigger numbers, > 10 million I get scientific notation as a result, while a double should handle bigger numbers I tought...
Relevant code :
float inputValue = Float.parseFloat(text.getText().toString());
text.setText(String.valueOf(convertEuroToFrank(inputValue)));
private double convertEuroToFrank(double euros) {
return (euros*40);
}
Very new to android and java..
Making simple conversion app, the issue is I end up with scientific notation for bigger numbers, > 10 million I get scientific notation as a result, while a double should handle bigger numbers I tought...
Relevant code :
float inputValue = Float.parseFloat(text.getText().toString());
text.setText(String.valueOf(convertEuroToFrank(inputValue)));
private double convertEuroToFrank(double euros) {
return (euros*40);
}