Generates a random number, integer or long
This is the final version of my set of Setting functions SettingRead, ...
50 chars max.