| Getting .java:9: operator > cannot be applied to java.lang.Float |
|
|
|
|
You see this and messages like it when using a Lexicon Expression business rule, and the Java you supplied is causing a compilation exception at runtime. "operator > cannot be applied to java.lang.Float" You might be using "$PARAMETER$ > 0" as the expression code. The PARAMETER element will be represented by a Float object in the Lexicon Bean, so you'll need to use something like "$PARAMETER$.floatValue() > 0". This allows you to use other methods for the Float class too. |
OpenLexicon.org | Home