Created
May 7, 2025 10:47
-
-
Save trycf/cdaeea76d00d969781610d361f9ff785 to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
v = "00012.00006.00003.0011"; | |
lv = "06.000.7728.0100.100"; | |
//dump(toNumeric(v)); | |
//dump(toNumeric(lv)); | |
_lv = REReplace( lv, "[^\d]", "", "all" ) | |
_v = REReplace( v, "[^\d]", "", "all" ) | |
dump(_v); | |
dump(_lv); | |
dump(toNumeric(_v)); | |
dump(toNumeric(_lv)); | |
dump(_lv gt _v) | |
dump(lv gt _v) | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment