Skip to main content
3 of 4
added 2 characters in body
Vishal Aggarwal
  • 5.6k
  • 2
  • 20
  • 37

I agree mostly with Michael's answer. However in certain scenarios randomness not only becomes useful but necessary as recently to re-calculate a price , I needed to randomize few input values so that application is forced to re-calculate price on every test run which will not be possible with static price value.

Also on randomizing numbers in decimal points up to large range, I found an issue where application is incorrectly rounding off price(after complex algorithm calculation) after certain decimal points which is not acceptable.

This issue was undiscovered over a long period with static values.

Vishal Aggarwal
  • 5.6k
  • 2
  • 20
  • 37