[ 
https://issues.apache.org/jira/browse/VELOCITY-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17558409#comment-17558409
 ] 

Michael Osipov commented on VELOCITY-957:
-----------------------------------------

Interesting...we need to check the type coercion. Both should be string, thus 
false.

> Unexpected compare result
> -------------------------
>
>                 Key: VELOCITY-957
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-957
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 2.3
>            Reporter: Kai Bächle
>            Priority: Major
>
> {code:java}
> #if('1' == '1.0')same#{else}different#end {code}
> has "same" as result using velocity 2.3 and "different" using 1.7



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org

Reply via email to