Back to [[conference:committee:2014-proposals]]\\ \\ **Title**: Processing Decimal Values\\ **Proposer**: [[2014:Dietmar Kuhl]]\\ **Type**: Tutorial\\ **Duration**: 90 mins\\ **Description**: \\ In many business contexts it is necessary to process decimal values. C and C++ don't have any built-in support for processing fractional decimal values, leading developers into using binary floating points instead. Although binary floating points can work sufficiently well, they cannot represent fractional decimal values exactly and even simple computations introduce errors. This presentation discusses the several ways to process decimal values accurately (fixed point, big decimal, BCD, ratios, strings, decimal floating point) and their respective advantages and drawbacks. It describes how software using decimal representations can interact with software using binary floating points, i.e., how binary floating points can be used to transfer fractional decimal values. Finally, it describes C and C++ interfaces to deal with decimal floating points in detail, including when these are applicable and their various trade-offs.\\ \\ \\ \\