renamed randDouble to randDecimal