Java's BigDecimal.pow(int)
method only accepts an integer parameter, no BigDecimal
parameter.
Is there a library, like Apache's commons-lang, that supports BigDecimal.pow(BigDecimal)
? It should be able to do calculate "1.21".pow("0.5")
to return "1.1"
.