Change VSCode formatting from scanner.nextDouble(); from <,> to <.> by default

huangapple go评论54阅读模式
英文:

Change VSCode formatting from scanner.nextDouble(); from <,> to <.> by default

问题

将 VSCode 中的 scanner.nextDouble(); 的格式从 <,> 默认更改为 <.>。

在使用 scanner.nextDouble(); 方法时,VSCode 终端只接受 <,> 而不是常规的 <.> 作为小数点。已尝试将 VSCode 本地设置更改为英语。

英文:

Change VSCode formatting from scanner.nextDouble(); from <,> to <.> by default

When using the scanner.nextDouble(); method, the VSCode Terminal only accepts <,> instead of the normal <.> for decimal points. Already tried changing the VSCode locale to English.

答案1

得分: 0

"在终端执行命令“set-culture -cultureinfo en-US”。如在解决方案中所见,由@Hulk建议"。

英文:

Execute the command "set-culture -cultureinfo en-US" in the terminal. As seen in the solution, suggested by @Hulk

huangapple
  • 本文由 发表于 2023年5月22日 18:52:12
  • 转载请务必保留本文链接:https://go.coder-hub.com/76305435.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定