-
Notifications
You must be signed in to change notification settings - Fork 2
Numbers
flbulgarelli edited this page Feb 26, 2012
·
2 revisions
Staccatissimo-Numbers is a library that implements the notion of NumberType defined in Staccatissimo-Defs, which allow to handle numbers polymorphically, and utilities for creating BigDecimal
s and BigInteger
s in a succinct way:
-
Numbers (Utility Class) - compactly express BigInteger and BigDecimal literals
-
NumberTypes - generically deal with numeric types by using parametric polymorphism.
Add it as a Maven dependency
<dependencies>
<dependency>
<groupId>net.sf.staccatocommons</groupId>
<artifactId>commons-numbers</artifactId>
<version>${staccatissimo.version}</version>
</dependency>
</dependencies>