Return a datum holding the specified Decimal64 value.
Declared in <bdld_datum.h>
static
Datum
createDecimal64(
bdldfp::Decimal64 value,
AllocatorType const& allocator);
Return, by value, a datum having the specified Decimal64 value, using the specified allocator to supply memory (if needed). Note that the argument is passed by value because it is assumed to be a fundamental type.
a datum holding the specified Decimal64 value
| Name | Description |
|---|---|
| value | Decimal64 value to store |
| allocator | memory allocator to use |