anyone have a tag to calcualte the ever annoying UPS CHECK DIGIT?
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send
This is what I came up with. Anyone have anything any faster?
The variable cdigit start is a concatenation of a bunch of UPS code
numbers
cfset evennumbers = ""
cfset oddnumbers = ""
cfset cdigitstart = "69962242100"
cfset x = 1
cfset oddnumberssubtotal = 0
cfset evennumberstotal = 0
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
This is what I came up with. Anyone have anything any faster?
I'm not sure if this is any faster, but I think it's a little easier
to grok.
It's not in tag form, but should be easy enough to tagify...
Hope this helps.
Best regards,
Zachary
Subject: RE: UPS CHECK DIGIT
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
This is what I came up with. Anyone have anything any faster?
I'm not sure if this is any faster, but I think it's a little easier
to grok.
It's not in tag form, but should be easy enough to tagify...
Hope this helps
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Just a comment, that's the kind of thing I would have written
that as a
cfscipt block. It would be a little faster and less bulky
looking
~Justin MacCarthy
Very true! That was a quick dirty hack that I haven't got around
to
: "pan" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 02, 2000 12:22 PM
Subject: Re: UPS CHECK DIGIT
From: Sean Renet [EMAIL PROTECTED]
anyone have a tag to calcualte the ever annoying UPS CHECK DIGIT?
UPS Tracking Numbers appear in the following formats:
1Z 999 999 9
Zachary thanks for hipping me to the ASCII check, I forgot all about that
possibility. Other than that both are the same speed so I just added that
acsii check to my tagified first version. Thanks for the help
--
From: Sean Renet [EMAIL PROTECTED]
I went through there myups account and coundn't find anything useful. That
is why I posted here to see if anyone could think of anything faster than
what I came up with.
I understood what you were looking for; what you listed didn't look familiar
so I
aye. thanks for the info :-)
- Original Message -
From: "pan" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 02, 2000 7:08 PM
Subject: Re: UPS CHECK DIGIT -Pan
From: Sean Renet [EMAIL PROTECTED]
I went through there myups account and coundn't find anyth
9 matches
Mail list logo