-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bug
Description
Summary of the new feature / enhancement
Similar to what we now have in C#, it would be great to introduce digit separators to PowerShell, so we can enter numbers in a more legible way; e.g.
$myVar = 1_000_000Today we can get away with converting a string as below; but this then makes our code culture dependent.
$myVar = [int]'1,000,000'This relates to #13590 in that both are to do with formatting numbers for legibility; only this request is for formatting the input/code, whilst #13590 is for formatting the output.
Proposed technical implementation details (optional)
No response
mklement0
Metadata
Metadata
Assignees
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bug