-
-
Save bielawb/77ec3227bae37fdabab4d369769291f5 to your computer and use it in GitHub Desktop.
Konwertowanie typów
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$plikCsv = @' | |
Nazwa,Liczba | |
Jedenaście,11 | |
Dwa,2 | |
Siedem,7 | |
Osiem,8 | |
'@ | ConvertFrom-Csv | |
$plikCsv | Where-Object { $_.Liczba -lt 5} | |
# Zwróci jedenaście - porównujemy ciągi znaków... | |
$plikCsv | Where-Object { 5 -gt $_.Liczba } | |
# Zwróci jedynie 2 - porównujemy liczby |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment