xicmiah/see — Issue #3: Unable to use number's of type that does not equal to NumberFactory.
Author: zeldigas
Created: 2012-02-08 09:08:08+00:00
State: open

Lets assume we have a class A with method doSomething(int value). Now we can't invoke this method in see script
```
a = 1; //BigDecimal by default now
bean.doSomething(1.intValue());//fails as no such method exception
```
The problem is that see wraps any value explicitly with NumberFactory. If number factory produce BigDecimals, it's unable to get an int value, even with explicit call to Number#intValue()