Convert UUID to string using .UUIDString
Take the string .hash property.
Pass to int.
int numericFormUUID = (int)UUIDString.hash;
Note: collision is possible, as always, with hashing. Here, two users can have the same value, while the UUID is guaranteed to be unique.
source share