News for hackers. Stuff that matters.
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.
Re:What's new in the .NET 11 runtime by bazoom42 on Thursday November 12, 2026 @05:11AM (#50465241)
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.

Re:What's new in the .NET 11 runtime by bazoom42 on Thursday November 12, 2026 @03:23PM (#50473647)
Why? What do you mean?