mirror of
https://github.com/microsoft/PowerToys
synced 2024-11-22 17:09:28 +00:00
[PTRun][Calculator]fix copy/paste culture bug (#15207)
* changing culture info * Update ResultHelper.cs Remove comment
This commit is contained in:
parent
f63d389d26
commit
740230c870
@ -46,8 +46,7 @@ namespace Microsoft.PowerToys.Run.Plugin.Calculator
|
||||
{
|
||||
try
|
||||
{
|
||||
// Using CurrentUICulture since this is user facing
|
||||
Clipboard.SetText(roundedResult?.ToString(CultureInfo.CurrentUICulture.NumberFormat));
|
||||
Clipboard.SetText(roundedResult?.ToString(CultureInfo.CurrentCulture));
|
||||
ret = true;
|
||||
}
|
||||
catch (ExternalException)
|
||||
|
Loading…
Reference in New Issue
Block a user