Comparison of numbers with decimal places fail when they are different underlying data types

Description

<cfset a = 12345678.90>
<cfset b = "12345678.90">
<cfset c = false>

<cfif a eq b>
<cfset c = true>
</cfif>

<cfoutput>#c#</cfoutput>

in ACF c is true, in Lucee it is false (and railo 4.5 too for that matter)

<cfset a = 1234567890>
<cfset b = "1234567890">
<cfset c = false>

<cfif a eq b>
<cfset c = true>
</cfif>

<cfoutput>#c#</cfoutput>

in ACF and Lucee c is true

Environment

Windows Server 2012 and Windows 10

Assignee

Michael Offner

Reporter

E

Priority

New

Labels

Fix versions

Sprint

None

Affects versions

Configure