significand
The part of a floating-point or decimal number that holds its significant digits, as opposed to the exponent that places the decimal point.
In more detail
The number of digits it can hold decides a type's precision. Decimal has a far wider significand than double and keeps it in base 10, which is why prices survive arithmetic without drifting.
Related terms
- floating-point number — A number with a fractional part stored in binary, which can only approximate most decimal values.
- decimal — The C# number type that stores base-10 digits exactly, with 28 to 29 significant digits, which makes it the right type for money.
Taught in
- The C# Language: Types, Variables, and Flow Control — Modern .NET Core, C# & Enterprise Microservices