Created
September 7, 2024 06:51
-
-
Save trycf/7d79f6cfdc16df5e8a443e2660192858 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