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> | |
variables.title = "XXXAssociate Manager, Blah blah" | |
managerialTitles = 'Library Services Coordinator,Associate Manager,Facilities Coordinator' | |
for (title in managerialTitles.listToArray()) { | |
writeDump(variables.title.reFind('^#variables.title#, .*')) | |
} | |
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> | |
//num = "1,234,567.89"; | |
//num = "1.234.567,89"; | |
//num = "1’234’567.89"; | |
//num = "1 234 576.89"; | |
//num = "1234567.89"; | |
//num = "33"; | |
num = "100.000,484389"; | |
function standardiseDecimalNumber(num) { |
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> | |
//num = "1,234,567.89"; | |
//num = "1.234.567,89"; | |
//num = "1’234’567.89"; | |
//num = "1 234 576.89"; | |
//num = "1234567.89"; | |
//num = "33"; | |
num = "100.000,484389"; | |
function standardiseDecimalNumber(num) { |
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> | |
//num = "1,234,567.89"; | |
//num = "1.234.567,89"; | |
//num = "1’234’567.89"; | |
//num = "1 234 576.89"; | |
//num = "1234567.89"; | |
//num = "33"; | |
num = "100.000,484389"; | |
function standardiseDecimalNumber(num) { |
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> | |
//num = "1,234,567.89"; | |
//num = "1.234.567,89"; | |
//num = "1’234’567.89"; | |
//num = "1 234 576.89"; | |
//num = "1234567.89"; | |
//num = "33"; | |
num = "100.000,484389"; | |
function standardiseDecimalNumber(num) { |
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> | |
//num = "1,234,567.89"; | |
//num = "1.234.567,89"; | |
//num = "1’234’567.89"; | |
//num = "1 234 576.89"; | |
//num = "1234567.89"; | |
//num = "33"; | |
if(len(num) > 2) { | |
if(num[len(num) - 2] == ",") { |
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> | |
//num = "1,234,567.89"; | |
//num = "1.234.567,89"; | |
//num = "1’234’567.89"; | |
//num = "1 234 576.89"; | |
//num = "1234567.89"; | |
num = "33"; | |
if(len(num) > 2) { | |
if(num[len(num) - 2] == ",") { |
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> | |
//num = "1,234,567.89"; | |
//num = "1.234.567,89"; | |
//num = "1’234’567.89"; | |
//num = "1 234 576.89"; | |
//num = "1234567.89"; | |
if(num[len(num) - 2] == ",") { | |
num = replace(num, ".", "", "all"); | |
num = replace(num, ",", ".", "all"); |
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
<cfoutput> | |
<cfset local.jSONdata = {} /> | |
<cfparam name="arguments.jSONvariable" default="getDictionaryItems.CancellationPuntos.msg_cancellationPuntosIneligible"> | |
<cfloop index="local.idx_jSON" list="#arguments.jSONvariable#" delimiters="."> | |
<cfset local.jSONdata = local.jSONdata[local.idx_jSON] /> | |
</cfloop> | |
</cfoutput> | |
<cfdump var="#replaceList(local.jSONdata, "","", "|", true)#"> |
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> | |
num1 = "1.234.567,90"; | |
rNum = reverse(num1); | |
for(i=1; i<len(rnum); i++){ | |
if(!isNumeric(rNum[i])){ | |
decimalSeparator = rNum[i]; | |
break; | |
} | |
} |