How do I generate a random number with 2 decimal places?
Keep decimal output switched on and choose 2 decimal places before generating your result.
Decimal tool
Generate a random decimal number inside your own custom range. This online random decimal generator lets you choose the number of decimal places you want, making it useful for sample prices, measurements, QA data, spreadsheets, and calculations.
Enter the start and end of your range, keep decimals switched on, and set the number of decimal places you need. Click generate to create a decimal value within that range.
You can generate random numbers with 2 decimal places, 3 decimal places, or more depending on your use case. Lower precision is useful for simple examples, while higher precision helps with testing, calculations, and more detailed sample data.
Decimal values are useful for spreadsheets, QA testing, classroom work, statistics, measurements, and mock pricing when whole numbers are too limited for the example you need.
Keep decimal output switched on and choose 2 decimal places before generating your result.
Yes. You can choose the level of precision you want, which makes the tool useful for both simple examples and more detailed sample data.
It is useful for sample pricing, measurements, spreadsheet testing, simulations, and any task that needs fractional values.
Related pages
These links strengthen the path between decimal use cases, general range tools, and supporting search intent.
Use the main tool when you want to switch between whole numbers and decimals in one place.
Focus on generating a value inside a range when your main question is the bounds rather than decimal precision.
Read the primer on how online generators work and when different output types make sense.