3 ms·
The C# version is slightly better, though. Binary floating-point numbers are less than ideal for keeping discount percentage because a value like 12.3% can’t b
by Const-me 3y ago
The C# version is slightly better, though.
Binary floating-point numbers are less than ideal for keeping discount percentage because a value like 12.3% can’t be represented exactly.