Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

12/17/2024 PM Publish #11599

Merged
merged 2 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ you cast a **Double** to a **Decimal** type, the result is
`9223372036854780000`, which isn't accurate.

```powershell
PS> ([int64]::MaxValue + 1)GetType().Name
PS> ([int64]::MaxValue + 1).GetType().Name
Double
PS> [decimal]([int64]::MaxValue + 1)
9223372036854780000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ you cast a **Double** to a **Decimal** type, the result is
`9223372036854780000`, which isn't accurate.

```powershell
PS> ([int64]::MaxValue + 1)GetType().Name
PS> ([int64]::MaxValue + 1).GetType().Name
Double
PS> [decimal]([int64]::MaxValue + 1)
9223372036854780000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ you cast a **Double** to a **Decimal** type, the result is
`9223372036854780000`, which isn't accurate.

```powershell
PS> ([int64]::MaxValue + 1)GetType().Name
PS> ([int64]::MaxValue + 1).GetType().Name
Double
PS> [decimal]([int64]::MaxValue + 1)
9223372036854780000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ your investment in PowerShell is protected and your migration to PowerShell 7 is

### Differences in .NET versions

PowerShell 7.2 is built on .NET 6.0. Windows PowerShell 5.1 is built on .NET Framework 4.x. The
PowerShell 7.4 is built on .NET 8.0. Windows PowerShell 5.1 is built on .NET Framework 4.x. The
differences between the .NET versions might affect the behavior of your scripts, especially if you
are calling .NET method directly. For more information,
[Differences between Windows PowerShell 5.1 and PowerShell 7.x][10].
Expand Down
Loading