$floating
Returns a random floating point number (64-bit).
Aliases: $floating
, $float
, $double
, $mgNumberDouble
Options¶
min
(optional) minimum value. Default-2^1074
.max
(optional) maximum value. Default2^1023
.
Example¶
{
"price": {
"$double": {
"min": 100
}
}
}
{
"price": 7647.42134652
}