Quick and easy data generation tools

# Fractional Number

###### Generate a fractional number within a range.
Min Max
Decimals (1-5)
How many numbers? (1-100)
Click 'Generate' button - results will show here
###### Example Output:

(with options set to ‘Min’ = 1, ‘Max’ =1000, ‘Decimals’ = 3, ‘How many numbers’ = 5, and format field set to ‘Plain Text’)

`676.14`
`558.92`
`591.962`
`11.575`
`27.576`
###### Description:
What is this?

The random number generator on this page creates numbers with fractions between a minimum and a maximum value. Fractional numbers, as opposed to whole numbers, include decimals which represent a part of a part of a whole number. A fraction, or fractional number, is used to represent a part of a whole. Examples of fractional numbers are 10.5, 928.01, 7843.4, and 32.8473.

Random fractional numbers when generated randomly are useful in the example scenarios below:

Generate random variable values which can be useful in forming test cases, scenarios, and other data-orientated tasks. Reduce the time and keystrokes required to put together random fractional values and export in JSON format for programming tasks.

- Database data

Create random data for database fields that support the float or double data types. Test fields with random data to ensure compatibility and reduce changes or production errors. This is also useful to test web forms and client/server code that validates user inputs. Ensure that values are not being assigned to incorrect data types which will allow for fractional numbers to lose their decimal places.

How to use this generator?

Enter a value to use as the minimum ‘min’ and maximum ‘max’ value. This limits the output of the results to conform to the range you have defined. You may also define the maximum number of decimal places you want your results to include - e.g. ‘2’ can create number ‘52.01’, and ‘994.1’, while ‘3’ can create number ‘948.406’.

Choose has many fractional numbers you want in your results by putting a value in the ‘How many numbers’ field. Present your results as either plain or JSON formats by choosing ‘Plain Text’ or JSON respectively.

Info

Support