Added BigDecimal capabilities to SpEl numeric operators #54

Closed
wants to merge 3 commits into
from

2 participants

@giovannidalloglio

Hi.

Some time ago, we found that the BigDecimals was not considered in the supported operations by Expression Language. I also opened an issue: https://jira.springsource.org/browse/SPR-8716

If you are interested, we'd like to share our enhancement.

The updated operators are:

  • gt
  • ge
  • lt
  • le
  • eq
  • ne
  • plus
  • minus
  • divide
  • multiply
  • power
  • modulus
dallogliog Added BigDecimal capabilities to SpEl numeric operators
* gt
* ge
* lt
* le
* eq
* ne
* plus
* minus
* divide
* multiply
* power
* modulus

This should cover the issue
https://jira.springsource.org/browse/SPR-8716
60f4f2b
@cbeams
@cbeams

Giovanni, could you please indicate that you've signed the CLA per the contributor guidelines?

Also please check that there are no conflicts with some recent changes that were made to OpPlus. You can rebase against the latest SpringSource/master and do a force push to update this branch. Ideally, you should actually submit the pull request from a branch named SPR-8716, instead of your master branch. This is also covered in the guidelines.

Thanks!

dallogliog added some commits May 14, 2012
@giovannidalloglio

It seems that I made a mess!

Please, forgive me: I'm not used to Git, and I'm trying to repare...

@cbeams

No problem. Git takes a little time to get used to, but it's worth it! Feel free to simply create a new pull request with the cleaned-up commits.

@giovannidalloglio

Following your suggestion, i'm closing this pull request, to create a new with cleaned-up commits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment