Re:What's new in the .NET 11 runtime
by Dylan16807 on Wednesday November 11, 2026 @10:31PM
(#50462723)
The code (decimal)0.1 shouldn't involve a double in the first place.
[ Parent
| on HN ]
The literal 0.1 is a double. If you want a decimal literal use the “m” postfix like 0.1m.
Re:What's new in the .NET 11 runtime
by Dylan16807 on Thursday November 12, 2026 @01:13PM
(#50471603)
> The literal 0.1 is a double.
I know. It shouldn't be.