Random Price/Currency Value Generator - Test Data Generation

If you are software tester, you may need some random prices or currency values to be used as part of application input, or test data in a database. This page allows you to generate large amount of currency values randomly for your test data need.

How to generate random currecy values?

If you are testing e-commerce or financial related applications, you definitely need lots of currency values. But most programming languages do not offer any built-in functions to generate random currency values. So you need do some extra work like the following:

  • round(min+rang*mt_rand()/RAND_MAX, 2) - Converts random integers to random currency values.

To help you to obtain large amount of random currency values, FYIcenter.com has designed this online tool. All you need to do is to enter the data range and the number of data items you need in the form below, and click the Start button. The generated data will be presented in the result area.




Popup Windows Tutorials

20 tutorials on different ways to create and test popup windows created in JavaScript: Page unload popups, Pop re-open on close, ...

200+ PHP Script Tutorials

Each tutorial answers one commonly asked PHP programming question with a short, but precise and clear PHP script.