Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BigDecimal[] val = {0,0,0};
- BigDecimal[] val = new BigDecimal[N];
- Arrays.fill(val, BigDecimal.ZERO);
- BigDecimal[] val = { BigDecimal.ZERO,
- BigDecimal.ZERO,
- BigDecimal.ZERO };
- BigDecimal[] val = {new BigDecimal(0),new BigDecimal(0),new BigDecimal(0)};
- BigDecimal val = 0; // Fails
- BigDecimal val = new BigDecimal(0); // Succeeds
- BigDecimal[] val = new BigDecimal[10]; // 10 for example - chosse the size you want
- Arrays.fill(val, BigDecimal.ZERO);
- Like this you can pass the BigDecimal Value:
- BigDecimal amt = null;
- amt = new BigDecimal("110000");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement