Return a datum holding the specified Decimal64 value.
Synopsis
Declared in <bdld_datum.h>
static
Datum
createDecimal64(
bdldfp::Decimal64 value,
AllocatorType const& allocator);
Description
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.
Return Value
a datum holding the specified Decimal64 value
Parameters
Name |
Description |
value |
Decimal64 value to store |
allocator |
memory allocator to use |
Created with MrDocs