GSAK (Geocaching Swiss Army Knife)
Contents - Index

NumToGsCode (function)

NumToGsCode(sIDNumber) : string

Groundspeak provide 2 unique Identifiers for a cache and they are closely related. Firstly there is the GCXXXXX code and secondly there is the ID number. There are times when you need the GCXXXXX code but only have the ID number. This function will convert the Number to the XXXXX code. Note: you will then need to prefix with "GC" if required (it is not automatically prefixed as this same algorithm may be used for other codes)

To convert the other way use the GsCodeToNum() function

Alpha List         Category List




Copyright 2004-2014 CWE Computer Services  
Privacy Policy Contact