MarcoGervasoni / gwt-math

Automatically exported from code.google.com/p/gwt-math
0 stars 0 forks source link

Add BigDecimal constants ZERO, ONE, and TEN. #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please add the BigDecimal constants ZERO, ONE, and TEN.

public static final BigDecimal ZERO = new BigDecimal(0); 
public static final BigDecimal ONE = new BigDecimal(1); 
public static final BigDecimal TEN = new BigDecimal(10); 

Original issue reported on code.google.com by johnth...@gmail.com on 8 Jan 2009 at 4:24

GoogleCodeExporter commented 9 years ago
As these are useful for our project I've created the attached patch.

Hope this helps.

Original comment by samturte...@gmail.com on 15 Jan 2009 at 10:03

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in 2.1

Original comment by marco.ge...@gmail.com on 6 Aug 2009 at 9:46