Runtime/Behavior Changes

Rounding of floating-point numbers

This is not something introduced in 14.0. This is something introduced in Windows 10 version 2004 (build 19041) which was released May 2020. This is now covered here because it directly affects how floating-point numbers are rounded and has not been mentioned in any migration guide yet.

This update changes the way the fprint-family formats floating-point numbers. Before the mentioned build, floating-point numbers ending in '5' always rounded up. This was changed in May 2020 to always round to the closest even digit (known as Banker's rounding). This to be more in line with IEEE 754.

This affects all methods which in converts a floating-point number into a string.

For example:

Before May 2020:

   formatted(1.45, precision=1)=1.5
   formatted(1.35, precision=1)=1.4

After May 2020 (currently):

   formatted(1.45, precision=1)=1.4
   formatted(1.35, precision=1)=1.4

For more information, read Microsoft's Documentation