mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-11-27 23:19:13 +08: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
|
try
|
||||||
{
|
{
|
||||||
// Using CurrentUICulture since this is user facing
|
Clipboard.SetText(roundedResult?.ToString(CultureInfo.CurrentCulture));
|
||||||
Clipboard.SetText(roundedResult?.ToString(CultureInfo.CurrentUICulture.NumberFormat));
|
|
||||||
ret = true;
|
ret = true;
|
||||||
}
|
}
|
||||||
catch (ExternalException)
|
catch (ExternalException)
|
||||||
|
Loading…
Reference in New Issue
Block a user