{"id":29215,"date":"2025-09-09T12:10:34","date_gmt":"2025-09-09T09:10:34","guid":{"rendered":"https:\/\/fatihsoysal.com\/blog\/powershell-how-to-format-numbers-to-2-decimal-places-ceviri\/"},"modified":"2025-09-09T12:10:34","modified_gmt":"2025-09-09T09:10:34","slug":"powershell-how-to-format-numbers-to-2-decimal-places-ceviri","status":"publish","type":"post","link":"https:\/\/fatihsoysal.com\/blog\/powershell-how-to-format-numbers-to-2-decimal-places-ceviri\/","title":{"rendered":"PowerShell: How to Format Numbers to 2 Decimal Places (\u00c7eviri)"},"content":{"rendered":"<p># PowerShell&#8217;de Say\u0131lar\u0131 Ondal\u0131kl\u0131 \u0130ki Basama\u011fa Yuvarlama<\/p>\n<p>Finansal raporlama, bilimsel hesaplamalar veya herhangi bir hassas veri i\u015fleme durumunda, say\u0131lar\u0131 belirli bir ondal\u0131k basama\u011fa yuvarlamak hayati \u00f6nem ta\u015f\u0131r.  PowerShell&#8217;de, say\u0131lar\u0131 iki ondal\u0131k basama\u011fa yuvarlamak i\u00e7in \u00e7e\u015fitli y\u00f6ntemler bulunmaktad\u0131r. Bu makale, yeni ba\u015flayanlardan ileri seviye kullan\u0131c\u0131lara kadar herkes i\u00e7in ad\u0131m ad\u0131m bir rehber sunarak, PowerShell&#8217;de say\u0131 bi\u00e7imlendirmenin inceliklerini ele alacakt\u0131r.  PowerShell&#8217;in sundu\u011fu g\u00fc\u00e7l\u00fc bi\u00e7imlendirme \u00f6zelliklerini kullanarak, verilerinizi do\u011fru ve anla\u015f\u0131l\u0131r bir \u015fekilde sunmay\u0131 \u00f6\u011freneceksiniz.<\/p>\n<p><strong>\u00d6\u011frenme Yol Haritas\u0131<\/strong><\/p>\n<p>Bu makale, PowerShell&#8217;de say\u0131lar\u0131 iki ondal\u0131k basama\u011fa yuvarlamay\u0131 \u00f6\u011frenmek i\u00e7in \u00fc\u00e7 a\u015famal\u0131 bir yol haritas\u0131 sunar:<\/p>\n<p><strong>Yeni Ba\u015flayan:<\/strong>  Temel komutlar ve basit \u00f6rneklerle ba\u015flar.<\/p>\n<p><strong>Orta Seviye:<\/strong> Ger\u00e7ek d\u00fcnya senaryolar\u0131 ve optimizasyon ipu\u00e7lar\u0131yla devam eder.<\/p>\n<p><strong>\u0130leri Seviye:<\/strong> Performans analizi ve nadir kar\u015f\u0131la\u015f\u0131lan durumlar (edge case&#8217;ler) ile son bulur.<\/p>\n<p><strong>PowerShell&#8217;de Say\u0131 Bi\u00e7imlendirmenin Temelleri<\/strong><\/p>\n<p>PowerShell, say\u0131lar\u0131 bi\u00e7imlendirmek i\u00e7in \u00e7e\u015fitli y\u00f6ntemler sunar.  En yayg\u0131n y\u00f6ntemlerden biri, <code class=\"language-\">.ToString()<\/code> metoduyla birlikte bi\u00e7imlendirme dizelerini kullanmakt\u0131r.  Bu metod, say\u0131sal de\u011ferleri metin olarak temsil etmemizi ve bu metin g\u00f6sterimini istedi\u011fimiz \u015fekilde bi\u00e7imlendirmemizi sa\u011flar. \u00d6rne\u011fin, &#8220;{0:N2}&#8221; bi\u00e7imlendirme dizesi, say\u0131y\u0131 iki ondal\u0131k basama\u011fa yuvarlayarak, binlik ay\u0131r\u0131c\u0131l\u0131 olarak g\u00f6sterir.  &#8220;{0:F2}&#8221; ise iki ondal\u0131k basama\u011fa yuvarlayarak g\u00f6sterir, ancak binlik ay\u0131r\u0131c\u0131 kullanmaz.<\/p>\n<p>\u00d6rne\u011fin;<\/p>\n<pre class=\"language-powershell\"><code>$sayi = 1234.5678\n$bi\u00e7imlendirilmi\u015fSayi = $sayi.ToString(&quot;N2&quot;)\nWrite-Host &quot;Binlik ay\u0131r\u0131c\u0131l\u0131, iki ondal\u0131k basamak: $bi\u00e7imlendirilmi\u015fSayi&quot;\n\n$bi\u00e7imlendirilmi\u015fSayi = $sayi.ToString(&quot;F2&quot;)\nWrite-Host &quot;Binlik ay\u0131r\u0131c\u0131s\u0131z, iki ondal\u0131k basamak: $bi\u00e7imlendirilmi\u015fSayi&quot;<\/code><\/pre>\n<p>Bu kod, 1234.57 ve 1234.57 \u00e7\u0131kt\u0131lar\u0131n\u0131 verecektir.  &#8220;N&#8221; ve &#8220;F&#8221; bi\u00e7imlendirme specifier&#8217;lar\u0131n\u0131n fark\u0131n\u0131 anlamak \u00f6nemlidir.<\/p>\n<p><strong>Nas\u0131l: Basit Say\u0131lar\u0131 \u0130ki Ondal\u0131k Basama\u011fa Yuvarlama?<\/strong><\/p>\n<p>Yeni ba\u015flayanlar i\u00e7in, basit bir say\u0131y\u0131 iki ondal\u0131k basama\u011fa yuvarlamak olduk\u00e7a kolayd\u0131r.  <code class=\"language-\">.ToString(\"F2\")<\/code> veya <code class=\"language-\">.ToString(\"N2\")<\/code> metodlar\u0131n\u0131 kullanarak bu i\u015flemi ger\u00e7ekle\u015ftirebiliriz.<\/p>\n<pre class=\"language-powershell\"><code>$sayi = 3.14159\n$yuvarlanm\u0131\u015fSayi = [double]($sayi.ToString(&quot;F2&quot;)) # veya &quot;N2&quot;\nWrite-Host &quot;Yuvarlanm\u0131\u015f say\u0131: $yuvarlanm\u0131\u015fSayi&quot;<\/code><\/pre>\n<p>Bu kod, 3.14 \u00e7\u0131kt\u0131s\u0131n\u0131 verecektir.  Dikkat edilmesi gereken nokta, <code class=\"language-\">.ToString()<\/code> metodunun bir *string* d\u00f6nd\u00fcrmesidir.  E\u011fer say\u0131sal i\u015flemler yapman\u0131z gerekiyorsa, sonucu tekrar <code class=\"language-\">[double]<\/code>&#8216;a d\u00f6n\u00fc\u015ft\u00fcrmeniz gerekir.<\/p>\n<p><strong>Nas\u0131l: Karma\u015f\u0131k Say\u0131lar\u0131 ve Dizileri \u0130ki Ondal\u0131k Basama\u011fa Yuvarlama?<\/strong><\/p>\n<p>Ger\u00e7ek d\u00fcnya senaryolar\u0131nda, genellikle tek bir say\u0131 de\u011fil, say\u0131 dizileriyle \u00e7al\u0131\u015f\u0131r\u0131z.  Bu durumda, her bir say\u0131y\u0131 ayr\u0131 ayr\u0131 yuvarlamam\u0131z gerekir.  Bunun i\u00e7in <code class=\"language-\">ForEach-Object<\/code> cmdlet&#8217;ini kullanabiliriz.<\/p>\n<pre class=\"language-powershell\"><code>$sayilar = @(12.345, 67.8901, 2.1234567)\n$yuvarlanm\u0131\u015fSayilar = $sayilar | ForEach-Object {$_.ToString(&quot;F2&quot;)}\nWrite-Host &quot;Yuvarlanm\u0131\u015f say\u0131lar: $($yuvarlanm\u0131\u015fSayilar -join ', ')&quot;<\/code><\/pre>\n<p>Bu kod, 12.35, 67.89, 2.12 \u00e7\u0131kt\u0131s\u0131n\u0131 verecektir.  <code class=\"language-\">-join ', '<\/code>  komutu,  dizi elemanlar\u0131n\u0131 virg\u00fcl ve bo\u015flukla birle\u015ftirir.<\/p>\n<p><strong>Ger\u00e7ek D\u00fcnya \u00d6rne\u011fi: Finansal Raporlama<\/strong><\/p>\n<p>Bir finansal raporlama sisteminde, her bir \u00fcr\u00fcn\u00fcn fiyat\u0131n\u0131 iki ondal\u0131k basama\u011fa yuvarlamam\u0131z gerekebilir.  \u00d6rne\u011fin, a\u015fa\u011f\u0131daki gibi bir veri setimiz olsun:<\/p>\n<pre class=\"language-powershell\"><code>$urunler = @(\n    @{UrunAdi = &quot;\u00dcr\u00fcn A&quot;; Fiyat = 15.999},\n    @{UrunAdi = &quot;\u00dcr\u00fcn B&quot;; Fiyat = 25.5555},\n    @{UrunAdi = &quot;\u00dcr\u00fcn C&quot;; Fiyat = 10.00001}\n)<\/code><\/pre>\n<p>Bu verileri iki ondal\u0131k basama\u011fa yuvarlayarak bir tablo olu\u015fturabiliriz:<\/p>\n<pre class=\"language-powershell\"><code>$urunler | ForEach-Object {\n    $yuvarlanm\u0131\u015fFiyat = $_.Fiyat.ToString(&quot;C2&quot;) # Para birimi sembol\u00fc ile\n    Write-Host &quot;\u00dcr\u00fcn Ad\u0131: $($_.UrunAdi), Yuvarlanm\u0131\u015f Fiyat: $yuvarlanm\u0131\u015fFiyat&quot;\n}<\/code><\/pre>\n<p><strong>Performans Optimizasyonu<\/strong><\/p>\n<p>B\u00fcy\u00fck veri k\u00fcmeleriyle \u00e7al\u0131\u015f\u0131rken, performans \u00f6nemli bir fakt\u00f6rd\u00fcr.  <code class=\"language-\">ForEach-Object<\/code> kullanmak, her bir eleman i\u00e7in ayr\u0131 bir i\u015flem ba\u015flat\u0131r.  Daha b\u00fcy\u00fck performans i\u00e7in, <code class=\"language-\">[decimal]<\/code> veri tipini kullanarak do\u011frudan yuvarlama yapabilir veya daha verimli y\u00f6ntemler ara\u015ft\u0131rabilirsiniz.  \u00d6rne\u011fin, Math.Round() fonksiyonu da kullan\u0131labilir, ancak dikkatli olmak gerekir \u00e7\u00fcnk\u00fc varsay\u0131lan olarak .NET&#8217;in yuvarlama davran\u0131\u015f\u0131 banker&#8217;s rounding&#8217;dir (en yak\u0131n \u00e7ift say\u0131ya yuvarlama).<\/p>\n<p><strong>\u0130leri Seviye: Edge Case&#8217;ler ve Hata Y\u00f6netimi<\/strong><\/p>\n<p>Baz\u0131 durumlarda, beklenmedik sonu\u00e7lar elde edebiliriz.  \u00d6rne\u011fin, <code class=\"language-\">Infinity<\/code> veya <code class=\"language-\">NaN<\/code> (Not a Number) de\u011ferleriyle \u00e7al\u0131\u015f\u0131rken.  Bu durumlar\u0131 ele almak i\u00e7in hata y\u00f6netimi kullanmal\u0131y\u0131z.<\/p>\n<pre class=\"language-powershell\"><code>try {\n    $sayi = [double]::PositiveInfinity\n    $yuvarlanm\u0131\u015fSayi = $sayi.ToString(&quot;F2&quot;)\n    Write-Host &quot;Yuvarlanm\u0131\u015f say\u0131: $yuvarlanm\u0131\u015fSayi&quot;\n}\ncatch {\n    Write-Host &quot;Hata olu\u015ftu: $_&quot;\n}<\/code><\/pre>\n<p>Bu kod, &#8220;Hata olu\u015ftu&#8221; mesaj\u0131n\u0131 verecektir \u00e7\u00fcnk\u00fc <code class=\"language-\">Infinity<\/code> de\u011feri iki ondal\u0131k basama\u011fa yuvarlanamaz.<\/p>\n<p><strong>Nas\u0131l: \u00d6zel Durumlar\u0131 Ele Alma?<\/strong><\/p>\n<p>\u00d6zel yuvarlama kurallar\u0131na ihtiya\u00e7 duydu\u011fumuz durumlarda, <code class=\"language-\">Math.Round()<\/code> fonksiyonunu kullanabiliriz.  Bu fonksiyon, yuvarlama modunu belirtmemize olanak tan\u0131r.<\/p>\n<pre class=\"language-powershell\"><code>$sayi = 12.345\n$yuvarlanm\u0131\u015fSayi = [Math]::Round($sayi, 2, [MidpointRounding]::AwayFromZero) # En uzak say\u0131ya yuvarlama\nWrite-Host &quot;Yuvarlanm\u0131\u015f say\u0131: $yuvarlanm\u0131\u015fSayi&quot;\n\n$yuvarlanm\u0131\u015fSayi = [Math]::Round($sayi, 2, [MidpointRounding]::ToEven) # Banker's rounding\nWrite-Host &quot;Yuvarlanm\u0131\u015f say\u0131 (Banker's Rounding): $yuvarlanm\u0131\u015fSayi&quot;<\/code><\/pre>\n<p><strong>Sonu\u00e7<\/strong><\/p>\n<p>PowerShell&#8217;de say\u0131lar\u0131 iki ondal\u0131k basama\u011fa yuvarlamak i\u00e7in \u00e7e\u015fitli y\u00f6ntemler mevcuttur.  Se\u00e7ti\u011finiz y\u00f6ntem, veri k\u00fcmenizin b\u00fcy\u00fckl\u00fc\u011f\u00fcne, performans gereksinimlerinize ve \u00f6zel yuvarlama kurallar\u0131n\u0131za ba\u011fl\u0131d\u0131r.  Bu makalede ele al\u0131nan teknikler ve \u00f6rneklerle, verilerinizi do\u011fru ve verimli bir \u015fekilde bi\u00e7imlendirebilirsiniz.  Daha fazla bilgi i\u00e7in [Fatih Soysal&#8217;\u0131n bloguna](https:\/\/fatihsoysal.com) g\u00f6z atabilirsiniz.<\/p>\n<p><strong>S\u0131k\u00e7a Sorulan Sorular:<\/strong><\/p>\n<p>1. <strong><code class=\"language-\">.ToString(\"F2\")<\/code> ve <code class=\"language-\">.ToString(\"N2\")<\/code> aras\u0131ndaki fark nedir?<\/strong>  <code class=\"language-\">F2<\/code>, iki ondal\u0131k basamak g\u00f6sterir, binlik ay\u0131r\u0131c\u0131 kullanmaz. <code class=\"language-\">N2<\/code>, iki ondal\u0131k basamak g\u00f6sterir ve binlik ay\u0131r\u0131c\u0131s\u0131n\u0131 kullan\u0131r (yerel ayara g\u00f6re).<\/p>\n<p>2. <strong>Hata y\u00f6netimi neden \u00f6nemlidir?<\/strong>  Beklenmedik girdiler (\u00f6rne\u011fin, <code class=\"language-\">NaN<\/code>, <code class=\"language-\">Infinity<\/code>) ile kar\u015f\u0131la\u015ft\u0131\u011f\u0131m\u0131zda, program\u0131m\u0131z\u0131n \u00e7\u00f6kmesini \u00f6nlemek i\u00e7in hata y\u00f6netimi kullanmal\u0131y\u0131z.<\/p>\n<p>3. <strong><code class=\"language-\">Math.Round()<\/code> fonksiyonu ne zaman kullan\u0131l\u0131r?<\/strong>  \u00d6zel yuvarlama kurallar\u0131na (\u00f6rne\u011fin, banker&#8217;s rounding) ihtiya\u00e7 duydu\u011fumuzda <code class=\"language-\">Math.Round()<\/code> fonksiyonunu kullanabiliriz.<\/p>\n<p>4. <strong>B\u00fcy\u00fck veri k\u00fcmeleri i\u00e7in hangi y\u00f6ntem daha verimlidir?<\/strong>  B\u00fcy\u00fck veri k\u00fcmeleri i\u00e7in, <code class=\"language-\">ForEach-Object<\/code> yerine daha verimli y\u00f6ntemler ara\u015ft\u0131r\u0131lmal\u0131d\u0131r.  \u00d6rne\u011fin,  <code class=\"language-\">[decimal]<\/code> veri tipi ve do\u011frudan yuvarlama i\u015flemleri performans\u0131 art\u0131rabilir.<\/p>\n<p>5. <strong>Ondal\u0131kl\u0131 say\u0131lar\u0131 yuvarlama d\u0131\u015f\u0131nda ba\u015fka nas\u0131l bi\u00e7imlendirebilirim?<\/strong>  PowerShell, say\u0131sal verileri \u00e7e\u015fitli \u015fekillerde bi\u00e7imlendirmek i\u00e7in bir\u00e7ok format specifier&#8217;\u0131 sunar.  Bunlar\u0131  Microsoft Docs&#8217;ta bulabilirsiniz.<\/p>\n<p>Yazar: Fatih Soysal<\/p>\n","protected":false},"excerpt":{"rendered":"# PowerShell&#8217;de Say\u0131lar\u0131 Ondal\u0131kl\u0131 \u0130ki Basama\u011fa Yuvarlama Finansal raporlama, bilimsel hesaplamalar veya herhangi bir hassas veri i\u015fleme durumunda,&hellip;","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_page_header_type":"","csco_page_load_nextpost":"","csco_page_subscribe_form":"","csco_page_contact_form":"","footnotes":""},"categories":[1319],"tags":[],"class_list":{"0":"post-29215","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-powershell","7":"cs-entry","8":"cs-video-wrap"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.5 (Yoast SEO v25.3.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>PowerShell: How to Format Numbers to 2 Decimal Places (\u00c7eviri)<\/title>\n<meta name=\"description\" content=\"Hi\u00e7bir etiketi bulunamad\u0131.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fatihsoysal.com\/blog\/powershell-how-to-format-numbers-to-2-decimal-places-ceviri\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PowerShell: How to Format Numbers to 2 Decimal Places (\u00c7eviri)\" \/>\n<meta property=\"og:description\" content=\"Hi\u00e7bir etiketi bulunamad\u0131.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihsoysal.com\/blog\/powershell-how-to-format-numbers-to-2-decimal-places-ceviri\/\" \/>\n<meta property=\"og:site_name\" content=\"Kodlar\u0131n Gizemli D\u00fcnyas\u0131\" \/>\n<meta property=\"article:published_time\" content=\"2025-09-09T09:10:34+00:00\" \/>\n<meta name=\"author\" content=\"Fatih Soysal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Yazan:\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fatih Soysal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tahmini okuma s\u00fcresi\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-how-to-format-numbers-to-2-decimal-places-ceviri\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-how-to-format-numbers-to-2-decimal-places-ceviri\/\"},\"author\":{\"name\":\"Fatih Soysal\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"headline\":\"PowerShell: How to Format Numbers to 2 Decimal Places (\u00c7eviri)\",\"datePublished\":\"2025-09-09T09:10:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-how-to-format-numbers-to-2-decimal-places-ceviri\/\"},\"wordCount\":883,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"articleSection\":[\"PowerShell\"],\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/powershell-how-to-format-numbers-to-2-decimal-places-ceviri\/#respond\"]}],\"copyrightYear\":\"2025\",\"copyrightHolder\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-how-to-format-numbers-to-2-decimal-places-ceviri\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/powershell-how-to-format-numbers-to-2-decimal-places-ceviri\/\",\"name\":\"PowerShell: How to Format Numbers to 2 Decimal Places (\u00c7eviri)\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\"},\"datePublished\":\"2025-09-09T09:10:34+00:00\",\"description\":\"Hi\u00e7bir etiketi bulunamad\u0131.\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-how-to-format-numbers-to-2-decimal-places-ceviri\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/powershell-how-to-format-numbers-to-2-decimal-places-ceviri\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-how-to-format-numbers-to-2-decimal-places-ceviri\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/fatihsoysal.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PowerShell: How to Format Numbers to 2 Decimal Places (\u00c7eviri)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/\",\"name\":\"Fatihsoysal.com\",\"description\":\"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim\",\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"tr\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\",\"name\":\"Fatih Soysal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"contentUrl\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"width\":512,\"height\":512,\"caption\":\"Fatih Soysal\"},\"logo\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\"},\"description\":\"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"PowerShell: How to Format Numbers to 2 Decimal Places (\u00c7eviri)","description":"Hi\u00e7bir etiketi bulunamad\u0131.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fatihsoysal.com\/blog\/powershell-how-to-format-numbers-to-2-decimal-places-ceviri\/","og_locale":"tr_TR","og_type":"article","og_title":"PowerShell: How to Format Numbers to 2 Decimal Places (\u00c7eviri)","og_description":"Hi\u00e7bir etiketi bulunamad\u0131.","og_url":"https:\/\/fatihsoysal.com\/blog\/powershell-how-to-format-numbers-to-2-decimal-places-ceviri\/","og_site_name":"Kodlar\u0131n Gizemli D\u00fcnyas\u0131","article_published_time":"2025-09-09T09:10:34+00:00","author":"Fatih Soysal","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Fatih Soysal","Tahmini okuma s\u00fcresi":"5 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fatihsoysal.com\/blog\/powershell-how-to-format-numbers-to-2-decimal-places-ceviri\/#article","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/powershell-how-to-format-numbers-to-2-decimal-places-ceviri\/"},"author":{"name":"Fatih Soysal","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"headline":"PowerShell: How to Format Numbers to 2 Decimal Places (\u00c7eviri)","datePublished":"2025-09-09T09:10:34+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/powershell-how-to-format-numbers-to-2-decimal-places-ceviri\/"},"wordCount":883,"commentCount":0,"publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"articleSection":["PowerShell"],"inLanguage":"tr","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fatihsoysal.com\/blog\/powershell-how-to-format-numbers-to-2-decimal-places-ceviri\/#respond"]}],"copyrightYear":"2025","copyrightHolder":{"@id":"https:\/\/fatihsoysal.com\/blog\/#organization"}},{"@type":"WebPage","@id":"https:\/\/fatihsoysal.com\/blog\/powershell-how-to-format-numbers-to-2-decimal-places-ceviri\/","url":"https:\/\/fatihsoysal.com\/blog\/powershell-how-to-format-numbers-to-2-decimal-places-ceviri\/","name":"PowerShell: How to Format Numbers to 2 Decimal Places (\u00c7eviri)","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/#website"},"datePublished":"2025-09-09T09:10:34+00:00","description":"Hi\u00e7bir etiketi bulunamad\u0131.","breadcrumb":{"@id":"https:\/\/fatihsoysal.com\/blog\/powershell-how-to-format-numbers-to-2-decimal-places-ceviri\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihsoysal.com\/blog\/powershell-how-to-format-numbers-to-2-decimal-places-ceviri\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fatihsoysal.com\/blog\/powershell-how-to-format-numbers-to-2-decimal-places-ceviri\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/fatihsoysal.com\/blog\/"},{"@type":"ListItem","position":2,"name":"PowerShell: How to Format Numbers to 2 Decimal Places (\u00c7eviri)"}]},{"@type":"WebSite","@id":"https:\/\/fatihsoysal.com\/blog\/#website","url":"https:\/\/fatihsoysal.com\/blog\/","name":"Fatihsoysal.com","description":"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim","publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"tr"},{"@type":["Person","Organization"],"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1","name":"Fatih Soysal","image":{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","contentUrl":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","width":512,"height":512,"caption":"Fatih Soysal"},"logo":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/"},"description":"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.","url":"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/"}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/29215","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/comments?post=29215"}],"version-history":[{"count":0,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/29215\/revisions"}],"wp:attachment":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media?parent=29215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/categories?post=29215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/tags?post=29215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}