# Theory of calculating randomness for damping factor

I am referring, as an example, to Blender's particle collision system, where you can set the randomness for particle damping between 0.0 and 1.0. My question now is: how does it exactly work? Yes, there will be a random number between 0.0 and 1.0 but how is it applied to the damping factor? I want to create something similar in Java and therefore I want to fully understand the calculation behind that. Is the random factor the probability p and the calculation something like a gaussian distribution?

public Vector3f damping(Vector3f vector)