mirror of
https://github.com/markjprice/cs11dotnet7.git
synced 2026-01-07 00:29:58 +01:00
Merge 6213e39c25 into c9db90b85c
This commit is contained in:
commit
53b1600ee3
|
|
@ -24,8 +24,8 @@ Console.WriteLine(
|
|||
$"{decimalNotation == hexadecimalNotation}");
|
||||
|
||||
Console.WriteLine($"int uses {sizeof(int)} bytes and can store numbers in the range {int.MinValue:N0} to {int.MaxValue:N0}.");
|
||||
Console.WriteLine($"double uses {sizeof(double)} bytes and can store numbers in the range {double.MinValue:N0} to {double.MaxValue:N0}.");
|
||||
Console.WriteLine($"decimal uses {sizeof(decimal)} bytes and can store numbers in the range {decimal.MinValue:N0} to {decimal.MaxValue:N0}.");
|
||||
Console.WriteLine($"double uses {sizeof(double)} bytes and can store numbers in the range {double.MinValue} to {double.MaxValue}.");
|
||||
Console.WriteLine($"decimal uses {sizeof(decimal)} bytes and can store numbers in the range {decimal.MinValue} to {decimal.MaxValue}.");
|
||||
|
||||
Console.WriteLine("Using doubles:");
|
||||
double a = 0.1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue