Created
September 7, 2024 06:51
-
-
Save trycf/3750a4d95386d37d3c54d868e7af276c to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains 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> | |
writedump(prorate(formula="ot15/173*&salary")); | |
Function prorate(formula,code){ | |
Var local={}; | |
Local.qgetcomp = getcomp(code); | |
Local.resword = listtoarray(formula,"()+/* "); | |
return local.resword; | |
}; | |
function getcomp(arg){ | |
Var local ={}; | |
Local.ret ={ | |
"Code" :"al" | |
}; | |
Return local.ret; | |
}; | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment