Scientific Notation Parser
The ScientificNotationParser
class is a useful tool class to get a numeric value without scientific notation
// without use ScientificNotationParser
double number = 0.0000092221111228;
System.out.println(number); // --> 9.2221111228E-6
// using ScientificNotationParser
double number = 0.0000092221111228;
System.out.println(ScientificNotationParser.sNotationParse(number));
// --> 0.0000092221111228
Content copied to clipboard
Author
N7ghtm4r3 - Tecknobit