B. Simple Types

Image
Image

Fig. B.1 | Simple types.

Additional Simple Type Information

• This appendix is based on information from the Types section of Microsoft’s C# 6 specification. A draft of this document can be found at:

• Values of type float have seven digits of precision.

• Values of type double have 15–16 digits of precision.

• Values of type decimal are represented as integer values that are scaled by a power of 10. Values between –1.0 and 1.0 are represented exactly to 28 digits.

• For more information ...

Get C# 6 for Programmers, Sixth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.