Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,20 +0,0 @@
|
|||
function Test-Integer ($Number)
|
||||
{
|
||||
try
|
||||
{
|
||||
$Number = [System.Numerics.Complex]$Number
|
||||
|
||||
if (($Number.Real -eq [int]$Number.Real) -and ($Number.Imaginary -eq 0))
|
||||
{
|
||||
return $true
|
||||
}
|
||||
else
|
||||
{
|
||||
return $false
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
Write-Host "Parameter was not a number."
|
||||
}
|
||||
}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
Test-Integer 9
|
||||
Test-Integer 9.9
|
||||
Test-Integer (New-Object System.Numerics.Complex(14,0))
|
||||
Test-Integer (New-Object System.Numerics.Complex(14,56))
|
||||
Test-Integer "abc"
|
||||
Loading…
Add table
Add a link
Reference in a new issue