Linked Questions

-1 votes
1 answer
100 views

I'm building a calculator app which take up math expressions, parses it and displays the results, for that I use Javaluator. Something like: String expression = "(2^3-1)"; Double result = new ...
Krul's user avatar
  • 139
0 votes
1 answer
70 views

I have the following problem trying to store the correct output of this SQL query into a double variable into a Java applcation. So I have this SQL query: SELECT sum(anagraficaEdificio.imp_tot_ind - ...
AndreaNobili's user avatar
  • 43.3k
0 votes
2 answers
120 views

Is there a way to make a NumberFormatter that does the following: If the Double is a whole number like 5.0, display "5" If the Double is a decimal like 5.6, display "5.6"
KaliMa's user avatar
  • 2,070
0 votes
1 answer
62 views

The following Code private double roundTheReading(double toRoundValue) { double roundetValue = 0; if (formatter == null){ DecimalFormatSymbols dfs = new DecimalFormatSymbols(); dfs....
Fulli's user avatar
  • 117
1 vote
1 answer
47 views

I'm trying to format output for user/report appeal, and there are two criteria I'm finding to be in a bit of conflict. First, the decimal values should line up (format on "%12.10f", predicted integer ...
Captain Prinny's user avatar
0 votes
1 answer
36 views

I'm building an unit converter app, when I want a value sometimes the answer comes with zeros or nines, like an answer should be 2.6789 it comes out 2.67899999999 or 2.6789000000 and I don't want this ...
Onedouble1's user avatar
0 votes
0 answers
21 views

I my application there's four types of Measurement unit. kg Height (cm) Width (cm) Length (cm) So I'm putting this all with a Double as it should, but when I Try to show this on TextView if the value ...
user avatar

15 30 50 per page
1 2 3 4
5