- PowerShell Desktop imports integers as
Int32
orInt64
. - PowerShell Core imports integers as
Int64
.
- PowerShell Desktop imports floating point numbers as
Decimal
. - PowerShell Core imports floating point numbers as
Doubles
.
The script Test-1.ps1 shows results for various numbers.