<br> Yes, the only way to call functions is inside eval or RHS. Although, drools executes some time coercion. Did you tried a direct comparison? I'm not positive it will work, but you may try.<br><br><div><span class="gmail_quote">
2007/8/31, wasabifan <<a href="mailto:bryan.rickman@kewill.com">bryan.rickman@kewill.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>I am trying to write a function that takes a numeric value and returns a<br>string. Basically, I have a numeric number I need to match to a string<br>number (so I need to convert one to the other type). I wrote a function to
<br>do this, but it only seems to work in the RHS or inside an eval().<br><br>Is there a way to convert numerics to strings (or vice-versa) in the LHS not<br>in an eval? Or is a big function inside the eval() the only way to do this?
<br><br>Thanks,<br>Bryan<br>--<br>View this message in context: <a href="http://www.nabble.com/LHS-functions-not-in-eval%28%29...-tf4362273.html#a12433462">http://www.nabble.com/LHS-functions-not-in-eval%28%29...-tf4362273.html#a12433462
</a><br>Sent from the drools - user mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br><br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">
rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div><br><br clear="all"><br>-- <br> Edson Tirelli
<br> Software Engineer - JBoss Rules Core Developer<br> Office: +55 11 3529-6000<br> Mobile: +55 11 9287-5646<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>