pn9efa
Last Updated: February 25, 2016
·
132
· vincpa

Treating GUID’s as strings

We all know what GUID’s are and there’s a good chance you’ve had to generate one at some point. For the most part I’ve always considered them to be a series hexadecimal characters which represent a unique string per domain. And they are, but GUID’s are just 128 bit values. I might be stating the obvious here but I do see developers from time to time treat them as strings. It makes me wonder if they consider he underlying value of a GUID.

So 987a8aff-02c5-410d-92f1-19803043fb5f and 127581288875099940198086380968295959295 are the same value, just represented differently. The former being hexadecimal and the latter being decimal.

http://vincpa.github.io/blog/2014/10/12/treating-guids-as-strings/