Random Decimal
Goal
Write mask
rule logic to
- generate random decimals from an interval defined by
<from>
and<to>
properties
Ano Structure and Examples
- Structure
- Update Example
- Create Example
...
mask <column> <rule-name>
format %f
random-decimal <from> <to> // [<from>, <to>]
...
table birth_certificate
column ...
column decimal birth_weight
...
task ... {
update birth_certificate
mask birth_weight
format %.2f
random-decimal 2500 5500
}
table birth_certificate
column ...
column decimal birth_weight
...
task ... {
create birth_certificate minimum-rows 50
mask birth_weight
format %.2f
random-decimal 2500 5500
}
<from>
and<to>
values are included in the generated values.