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