2005 IR Help Posted September 2, 2006 Share Posted September 2, 2006 By: John - kickingbird The?operator?*?is?undefined?for?the?argument? 2005-06-17 01:51 I declared two variables of type Java.lang.Double. When I try to do this in Variable Express $V{Profit} * 100 it gives me the "The?operator?*?is?undefined?for?the?argument?type(s)" error. I have also tried $V{Profit} * 100.00 $V{Profit} * (new Double(100.00)) I have tried Java 1.4.2 and now using Java 5.0.30.7 Please help! By: John - kickingbird RE: The?operator?*?is?undefined?for?the?argument? 2005-06-17 01:58 Oops..I mean "Variable Espression" By: alanHardwick - alan314 RE: The operator * is undefined for the argum 2005-06-17 02:34 You need to convert to double (and then back to Double) i.e. new Double($V{profit}.doubleValue() * 100) or something like that. By: John - kickingbird RE: The operator * is undefined for the argum 2005-06-18 03:27 Oh boy... it works! Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now