java - How to get biggest BigDecimal value -
how can largest possible value of bigdecimal variable can hold? (preferably programmatically, hardcoding ok too)
edit
ok, realized there no such thing since bigdecimal arbitrary precision. ended this, sufficiently purpose:
bigdecimal = bigdecimal.valueof(double.max_value)
its arbitrary precision class, large you'd until computer runs out of memory.
Comments
Post a Comment