How do I get 1324343032.324?
As you can see below, the following do not work:
>>1324343032.324325235 * 1000 / 1000 1324343032.3243253 >>i
I am trying to generate a random number between 5 to 7 and want to limit it to 3 decimal places.
import random num = float('%.3f' % random.uniform(5, 7)) print (num)