Full Definition of DRAGONFLY. : any of a suborder (Anisoptera) of odonate insects that are larger and stouter than damselflies, hold the wings horizontal in repose, and have rectal gills during the naiad stage; broadly: odonate.See dragonfly defined for English-language learners.See dragonfly defined for kids. any of a suborder (Anisoptera) of odonate insects that are larger and stouter than damselflies, hold the wings horizontal in repose, and have rectal gills during the naiad stage; broadly: odonate. See dragonfly defined for English-language learners. See dragonfly defined for kids.
The value of this constant is positive 1.7976931348623157E+308. The result of an operation that exceeds Double.MaxValue is Double.PositiveInfinity. In the following example, Double.PositiveInfinity results from addition, multiplication, and exponentiation operations when the result exceeds Double.MaxValue.
If you just want to print a double value, with n digits after the decimal point, you can use something like. double dVal = 290.1234; System.out.printf (Value with 4 digits after decimal point %.4f, dVal); You can use Math.round to round your double value to nearest integers as : Math.round (dVal * 10000.0) / 10000.0; To make your value round to n decimal places you could multiply by [math]10^n[/math], and then divide by [math]10^n[/math]. You can use DecimalFormat or BigDecimal, have a look at this : Page on stackoverflow.com.