Decimal numbers are truncated to 2 places

Confirmed Issue #15305821 • Assigned to Kevin B.


Christopher C.
Jan 3, 2018
This issue is public.
Found in
  • Microsoft Edge
Found in build #
Reported by 2 people

Sign in to watch or report this issue.

Steps to reproduce

When styling a container with a width of 32.099rem; Edge seems to use only 32.09rem; what is calculated to 513.44px instead of 513.584px when using the default font size of 16px.

This pixel value is then rounded to 513px instead of 514px which leads to a 1px smaller container size then expected.

See this issue for more detailed information


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

      Changed Assigned To to “bbrinza”

    • This is unfortunately a known issue. If you are looking for a workaround, you could use "calc(…)" to do your computations, the truncating won’t happen until later in the pipeline and you should get the correct result.

    • Microsoft Edge Team

      Changed Assigned To from “bbrinza” to “Bogdan B.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Bogdan B.” to “Kevin B.”

    • Is there any update on the status of this bug?

    You need to sign in to your Microsoft account to add a comment.

    Sign in