If your method returns double, then how about you just return  
java.lang.Double.NaN? Does that work?

Attila.

On 2007.11.27., at 13:23, Normen wrote:

> Hi there,
>
> i have a host object that has functions that return long, double,  
> int, etc.
>
> Is there a way that iam able to return NaN when its used in a script.
>
> Thanks for Help
>
> Normen
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to