Random Real Number/Float Value Generator - Test Data Generation

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

How to generate random real numbers?

In almost every programming language, you can find built-in functions to generate random real numbers. But PHP only offers mt_rand() for random integers. So you need do some extra work like the following:

  • min + rang * mt_rand()/RAND_MAX - Converts random integers to random real numbers.

To help you to obtain large amount of random real numbers, 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.

Minimum:

Maximum:

Count:

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.