Parent Directory | Revision Log | Patch
revision 1.11 by cbj, Sat Jan 25 20:14:56 2003 UTC | revision 1.12 by cbj, Sun Feb 2 00:00:50 2003 UTC | |
---|---|---|
# | Line 212 public class BigDecimal extends Number i | Line 212 public class BigDecimal extends Number i |
212 | public static BigDecimal valueOf (long val, int scale) | public static BigDecimal valueOf (long val, int scale) |
213 | throws NumberFormatException | throws NumberFormatException |
214 | { | { |
215 | if (scale == 0) | if ((scale == 0) && ((int)val == val)) |
216 | switch ((int) val) | switch ((int) val) |
217 | { | { |
218 | case 0: | case 0: |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |