Discount Deal Coupons for Windows and Mac Software Apps

Software Search

Daily Bits Email

Random Number Generator

Generate Customized Random Number Sequences

Remember that time when you were a little kid, and your brother bet you that you couldn't count all the way up to a million, and you tried and tried, and you quit somewhere around 439, dead-tired, dry-mouthed, and with nothing to show for it? In programming, such is the case with random number generation - a simple concept that can get a little complex in the execution.

Sooner or later, you're going to want to produce a set of random numbers for your programming project. It's not as simple as designating minimum and maximum values either - depending on what you need it for, you may want to exclude certain digits from your random number set, or have one or two numbers only show up once - like if you were programming a lottery machine, for example.

Random Number Generator creates random number sequences that can be configured according to your needs. In addition to specifying the range of numbers, you can also designate the number of random numbers to be generated, and whether those numbers should be unique. What's more, you can limit your random number sequence to even or odd integers, and exclude certain digits (like, if you were hating on the number '9', for instance) from the set.

In addition to integers, Random Number Generator is equally capable of doling out sequences of random floating point numbers. Designate a delimiter of your choice to separate each number from its neighbor, and when all is said and done, you can save your output for use in your program!

With Random Number Generator, you are the king of random number sequences!

Promotion Written by Derek Lee
Random Number Generator

for PC

Random Number Generator Screenshot
Click to view more
60
%
OFF
$12.00
RETAIL $29.95
2 People Want This Deal
or Buy Now at Regular Price
Platforms: Windows 98, 2000, XP, Vista
  • Produce a sequence of random numbers, either integers or floating point numbers.
  • Specify the range of random numbers, the number of numbers in the sequence, and whether the numbers should be unique or repeating.
  • Limit random numbers to odd or even and exclude certain digits.
  • Output your random number sequence for use in other applications.
  • Purchase with BitsDuJour's discount coupon code and get all this at a promotional price!
Like us on Facebook

BitsDuJour brings you daily discount deal coupons for Windows and Mac software apps. Promotions run for 24 hours, and our discount prices almost always never sell out as it's all digital download software, or something techie or cool. Discounts start running at Midnight Pacific time, and we do have other ongoing deals too. Read about how it works.

Get Software Discount Coupon Codes by Email Every Day!

On BitsDuJour Today

Paragon 3-in-1 Mac Bundle is a combination of three awesome applications that make cross-platform file management between Windows and Mac systems possible.

Paragon 3-in-1 Mac Bundle: NTFS for Mac OS X 9.5 & HFS+ for Windows 9.0 & Camptune X

Access NTFS and HFS+ Drives From Any Platform
Mac & PC
50
Focus Photoeditor is a robust photo editing application that lets you produce and share vibrant and beautiful photos that rival those of professional photographers.

Focus Photoeditor

Professional Photo Editing Power and Flexibility
for PC
65
Resource Tuner helps you browse and modify executable resources from within the file. Customize GUI elements, translate third party apps, rebrand your applications.

Resource Tuner

Edit Your EXE and DLL Files!
for PC
50
Visual IP Trace lets you trace IP addresses and websites back to their geographic location, giving you the power to stop hackers, verify customer addresses, and more.

Visual IP Trace Standard Edition

Trace Any IP Address to A Real Location
for PC
100
Email Checker Pro lets you verify the validity of multiple email addresses in batch mode, resulting in a clean distribution list free of bounced emails.

Email Checker Pro

Automatically Validate Hundreds of Emails in Batch
for PC
50

Other Hot Deals

Revo Uninstaller Pro is far, far better than the Add/Remove Programs utility, removing missed items such as unnecessary files, folders, and registry keys that remain on your computer.

Revo Uninstaller Pro

The Ultimate Uninstaller!
for PC
30
Hard Disk Sentinel Professional gives you a complete overview of your hard drive's health, so you can spot potential problems before they result in an irrecoverable data catastrophe.

Hard Disk Sentinel Professional Family License

Detect Hard Drive Issues Before Catastrophe Strikes
for PC
30
ShopperPress is a fully featured shopping cart theme for Wordpress that ensures you'll be up and running in minutes,  selling all types of products, services, and digital downloads online.

ShopperPress - Wordpress Shopping Cart

Your Own WordPress Storefront in Minutes
Mac & PC
40
Hard Disk Manager 11 Suite gives you everything you need to manage your hard drive, from partitioning, backup, cloning, defragging, and more, using an easy-to-use interface.

Hard Disk Manager 12 Suite

20+ tools to manage & protect your PC!
for PC
20
Flip PDF is your easy way to batch transform ordinary PDF files into stunning booklets with amazing page-flipping animations and sound.

Flip PDF

Create Booklets With Page Flipping Animation
for PC
35
deepMesh gives you a full set of game development tools, from modeling, to texturing, animation, and lighting, all in one software app.

deepMesh

The Ultimate Toolkit for Game Developers
for PC
30
SafeWallet manages your passwords with military-grade security so that you never have to remember individual passwords ever again.

SafeWallet

Never Have to Remember Passwords Again
Mac & PC
40
JaguarPC Web Hosting offers unlimited disk space and bandwidth, one-click software installation, top-quality servers, and awesome customer support, all to ensure your website's continuous availability.

JaguarPC Web Hosting

Quality Web Hosting
Mac & PC
38
Liquid Story Binder XE is a uniquely designed word processor for professional and aspiring authors, poets, and novelists.

Liquid Story Binder

Especially For Writers!
for PC
44
Automatically creates separate descriptive folders to hold your images, then imports your photos, automatically renaming files and performing image editing operations.

RoboImport

Intelligent Photo Importing!
for PC
55
Visual Lightbox  lets you produce stunning online photo galleries without writing a single line of code, using drag-and-drop, one-click publishing, and automatic thumbnail creation.

Visual Lightbox Unlimited Websites

Create Stunning Online Photo Galleries
Mac & PC
45
Adobe Premiere Elements 10 makes it easy to transform raw footage into awesome movies, thanks to intuitive design and a number of automated options.

Adobe Premiere Elements 10

Edit and Create Awesome Movies
Mac & PC
20
Adobe Photoshop Elements 10 lets you edit, enhance, and organize your photos in a way that is easy and intuitive, yet powerful.

Adobe Photoshop Elements 10

Edit, Enhance, and Organize Your Photos
Mac & PC
20

The Conversation

Email Updates Load 13 Older Comments
Big Bad Wolf # Does what this software does, in fact even better
# You can generate different distribution (e.g. gauss)
# by changing random.random() to something else.
# Time taken? 1hr inclusive of testing

import random

exclude_digits = '12345'
min_value = 0
max_value = 1000
number_of_values = 100
decimal_places = 0

want_unique = True
values = []

while len(values) number_of_values:

number = random.random() * max_value + min_value
str_num = str(number)

for exclude_digit in exclude_digits:
str_num = str_num.replace(exclude_digit, '')

decimal_pos = str_num.find('.')

if decimal_places 0:
if (decimal_pos 0) and ((len(str_num) - decimal_pos - 1) decimal_places):
str_num = str_num[0:decimal_pos + 1 + decimal_places]
else:
continue
else:
str_num = str_num[0:decimal_pos]


str_num = str_num.lstrip('0')
if len(str_num) 1: continue

if str_num[0] == '.':
str_num = '0'.join(str_num)

if want_unique:
if values.count(str_num) 0: continue

values.append(str_num)
print len(values), ':', str_num
Feb 8 2009 at 2:41am
Dave Yankov There you go again, Big Bad Wolf.

You're assuming the user has Visual Studio Express or even the desire or knowledge to use it.

Once again, here's an easy-to-use random number generator.

Much easier to use than some lava lamps.
Feb 8 2009 at 11:20am
Stephen Cohen Whether this program generates good sequences of pseudo-random numbers or not depends on the algorithm used. There are very good and very bad algorithms.

By definition, forcing the elimination of a digit, such as "9" or forcing uniqueness destroys randomness. Besides, unless the numbers are rounded to a few digits, a truly random sequence will have an infinitesimal probability of having duplicates.

I assume that the software's default is to generate uniform pseudo-random sequences. There are statistical tests for both uniformity and randomness. These tests cannot PROVE that an algorithm generates truly uniform or random sequences, but if testing indicates non-uniformity or non-randomness, then the algorithm is almost certainly a poor one. I discovered this almost 30 years ago with the random number generator in a Casio scientific calculator. It was quite bad.
Feb 14 2009 at 5:20pm
Martin Jay I've had a play, but I don't really have much use for this type of software.

I've noticed it appears to get itself in an endless loop if it's asked to perform an impossible task, such as producing ten unique random numbers of two digits that contain only 1 and 9.
Feb 15 2009 at 1:35am
Random Number Generator
Posting here will also email HotHotSoftware directly.
Focus Photoeditor
for PC
65
Resource Tuner
for PC
50
Email Checker Pro
for PC
50
Today's Deals All Deals Daily Bits Suggestions Forum Contact About Affiliates Vendor Area
Facebook Twitter
SignUpLogin

© Copyright 2012 BitsDuJour LLC. All Rights Reserved. Privacy Policy