|Modifier and Type||Method and Description|
Convert a double to a BigDecimal.
public static BigDecimal fromDouble(Double value, boolean stripTrailingZeros)
value- non-null value to convert into a BigDecimal.
stripTrailingZeros- should the trailing zero(s) be removed? e.g. 25.0 would become 25
Copyright © 2018 Global Biodiversity Information Facility. All rights reserved.