How to get biggest BigDecimal value

前端 未结 5 1048
故里飘歌
故里飘歌 2020-12-09 07:08

How can I get the largest possible value of a BigDecimal variable can hold? (Preferably programmatically, but hardcoding would be ok too)

EDIT
O

5条回答
  •  青春惊慌失措
    2020-12-09 07:49

    Its an arbitrary precision class, it will get as large as you'd like until your computer runs out of memory.

提交回复
热议问题