Forked from trycf/trycf-gist-1663831519549-108be4c3-5b4d-d6dc-ca88-c0d8e48bcdb6.cfm
Created
September 22, 2022 10:47
-
-
Save adamcameron/54981c8850e1a19ba1a764104cabf515 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> | |
s = "12345678901234567890" | |
writeDump([ | |
"s" = s, | |
"val(s)" = val(s), | |
"s.getClass().getName()" = s.getClass().getName(), | |
"val(s).getClass().getName()" = val(s).getClass().getName() | |
]) | |
d = 12345678901234567890 | |
writeDump([ | |
"d" = d, | |
"val(d)" = val(d), | |
"d.getClass().getName()" = d.getClass().getName(), | |
"val(d).getClass().getName()" = val(d).getClass().getName() | |
]) | |
bi = createObject("java", "java.math.BigInteger").init("12345678901234567890") | |
writeDump([ | |
"bi" = bi, | |
"toString(bi)" = toString(bi), | |
"bi.toString()" = bi.toString(), | |
"val(d)" = val(bi), | |
"bi.getClass().getName()" = bi.getClass().getName(), | |
"val(bi).getClass().getName()" = val(bi).getClass().getName() | |
]) | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment