Using Decimal Data Types in C
In C , decimal data types like decimal32, decimal64, and decimal128 are provided by the Decimal TR (Technical Report). However, the implementation of these types varies across compilers.
Compiler Support
Options for Using Decimal Data Types
If your compiler does not support decimal types, consider the following options:
Note: The Decimal TR and its implementation are subject to change as the standardization process progresses.
The above is the detailed content of How Can I Use Decimal Data Types in C When My Compiler Doesn\'t Support Them?. For more information, please follow other related articles on the PHP Chinese website!