NumberUtils and decimal point character

2011-01-27 Thread Stevo Slavić
Hello Apache Commons users, Is there any valid reason why '.' is hardcoded as decimal point character in lang.math.NumberUtils, commons-lang (2.6) ? Shouldn't this be locale dependent? Regards, Stevo. - To unsubscribe, e-mail:

Re: [Math] BigDecimal to power

2011-01-27 Thread paul womack
Andy Turner wrote: Hi, I've implemented code for calculating a BigDecimal raised to the power of another BigDecimal and which returns the result rounded to a specified number of decimal places. It is in the maths package of my Generic library and can be found via the following URL:

RE: [Math] BigDecimal to power

2011-01-27 Thread Andy Turner
Indeed, dealing with all the special cases involves dealing with complex roots and my implementation doesn't. So there is more work to do, but I don't think it is too much... I am confident that it will do cube roots though I should check some more of these :-) Anyway, it seems this

RE: [Math] BigDecimal to power

2011-01-27 Thread Andy Turner
I don't see a dflp package in 2.1. Can you give me a better pointer? I want to compare... It is in the subversion repository. You'll have to check it out. I did, but have not found it! I did find other pow functions in the org.apache.commons.math.util.MathUtils class. Andy

Re: [Math] BigDecimal to power

2011-01-27 Thread Luc Maisonobe
Le 27/01/2011 19:33, Andy Turner a écrit : I don't see a dflp package in 2.1. Can you give me a better pointer? I want to compare... It is in the subversion repository. You'll have to check it out. I did, but have not found it! Sorry, I wrote dflp but it is dfp. It is a top level package.

Re: [Math] BigDecimal to power

2011-01-27 Thread Phil Steitz
On Thu, Jan 27, 2011 at 1:33 PM, Andy Turner a.g.d.tur...@leeds.ac.uk wrote: I don't see a dflp package in 2.1. Can you give me a better pointer? I want to compare... It is in the subversion repository. You'll have to check it out. I did, but have not found it! It is a top-level package:

SCXML : SEND vs JEXL FUNCTION

2011-01-27 Thread Micka
Hi, I'm always amazing about the SCXML. I'm using JEXL in my SCXML project and when i discovered all the thing that JEXL can bring ( like custom function ) , I was wondering what is the purpose to use send or invoke tag in the scxml file. Is it possible that someone explain me ? By the way,

Re: SCXML : SEND vs JEXL FUNCTION

2011-01-27 Thread Rahul Akolkar
On Thu, Jan 27, 2011 at 3:25 PM, Micka mickamus...@gmail.com wrote: Hi, I'm always amazing about the SCXML. I'm using JEXL in my SCXML project and when i discovered all the thing that JEXL can bring ( like custom function ) , I was wondering what is the purpose to use send or invoke tag in