To compare whether the value of BigDecimal is greater than zero

Asked 2 years ago, Updated 2 years ago, 22 views

How do I compare if the BigDecimal value is greater than zero?

java

2022-09-22 16:07

1 Answers

if (value.compareTo(BigDecimal.ZERO) > 0) You can do it in this way.


2022-09-22 16:07

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.