fromMsDecimal

Converts the specified value to/from Microsoft _decimal data type;

D
fromMsDecimal
(
D
)
(
auto const ref DECIMAL x
)

Throws

InvalidOperationExceptionx is NaN
OverflowExceptionx is infinite or outside the DECIMAL limits
UnderflowExceptionx is too small to be represented as DECIMAL
InexactExceptionx cannot be represented exactly

Notes: The Microsoft _decimal data type is stored as a 96 bit integral scaled by a variable exponent between 10-28 and 100.

Meta