<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  <CodeSnippet Format="1.0.0">
    <Header>
      <Title>Kredi üzerinden Aylık Ödeme'yi hesapla</Title>
      <Author>Microsoft Corporation</Author>
      <Description>Kredi üzerinden aylık ödemeyi hesaplar.</Description>
      <Shortcut>mathPayLoan</Shortcut>
    </Header>
    <Snippet>
      <Imports>
        <Import>
          <Namespace>System</Namespace>
        </Import>
        <Import>
          <Namespace>Microsoft.VisualBasic</Namespace>
        </Import>
      </Imports>
      <Declarations>
        <Literal>
          <ID>annualInterestRate</ID>
          <Type>Double</Type>
          <ToolTip>Yıllık faiz oranı için bir Double değerle değiştirin (örneğin; 0.05 için 5%).</ToolTip>
          <Default>.05</Default>
        </Literal>
        <Literal>
          <ID>numberOfPayments</ID>
          <Type>Double</Type>
          <ToolTip>Aylık ödemelerin toplam tutarı için bir Double döndüren kod ile değiştirin.</ToolTip>
          <Default>36</Default>
        </Literal>
        <Literal>
          <ID>loanAmount</ID>
          <Type>Double</Type>
          <ToolTip>Kredi miktarı için bir Double döndüren kod ile değiştirin.</ToolTip>
          <Default>1000</Default>
        </Literal>
      </Declarations>
      <Code Language="VB" Kind="method body"><![CDATA[Dim futureValue As Double = 0
Dim payment As Double
payment = Pmt($annualInterestRate$ / 12, $numberOfPayments$, -$loanAmount$, futureValue, DueDate.EndOfPeriod)]]></Code>
    </Snippet>
  </CodeSnippet>
</CodeSnippets>
