1. computing scientific numbers in java stackoverflow.comI am trying to add different numbers from a file in java. Numbers can be of format : "1.13206e+06" How can I parse this number to reflect actual value in java?? Thanks |
2. Calculation displays scientific format instead of a whole number coderanch.comI'm playing with a java program to calculate how many minutes or seconds are in x number of years i.e. a person's age. I use Double dAge for the input, then when I tell it to multiply whatever the input is times the number of minutes in a year (535600), or seconds (31536000) I get a display result of 1.yada-yada-yada instead ... |