Skip to content

Coverage result uses comma instead of dot for decimals #1263

Closed
@boldt

Description

When I run dotnet coverlet on an english Linux machine, the result uses a dot:

+---------+--------+--------+--------+
|         | Line   | Branch | Method |
+---------+--------+--------+--------+
| Total   | 35.41% | 24.31% | 51.41% |
+---------+--------+--------+--------+

When I run the same on a german Windows, the result uses a comma:

+---------+--------+--------+--------+
|         | Line   | Branch | Method |
+---------+--------+--------+--------+
| Total   | 35,41% | 24,31% | 51,41% |
+---------+--------+--------+--------+

I tried to set $Env:DOTNET_CLI_UI_LANGUAGE = "en", but it still uses the comma.

Is there any way to configure the output format?

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions