hesaplayıcı
Menü

Yüzde Hesaplama: API ve MCP

Yüzde Hesaplama için REST ve MCP başvurusu: girdi alanları, sınırlar, çıktılar, örnek istek ve gerçek yanıt. Ücretsiz, kayıt yok.

GET /api/v1/tools/math.percentage/mcp/math

Kimlik
math.percentage
Sürüm
1.0.0
Erişim
Ücretsiz
Araç sayfası
Yüzde Hesaplama
Şema
GET /api/v1/tools/math.percentage

Girdiler

AlanTürSınırlarVarsayılanAçıklama
modestringpercentOf | whatPercent | discount | increasepercentOfHesaplama
partnumber≥ -1.000.000.000.000.000, ≤ 1.000.000.000.000.000Parça (A)
amount (zorunlu)number≥ -1.000.000.000.000.000, ≤ 1.000.000.000.000.000Sayı (B)
percentnumber≥ -10.000, ≤ 10.000Yüzde (%)

Çıktılar

AlanTürAçıklama
resultnumberSonuç
savingnumberİndirim tutarı
increasednumberArtış sonrası
decreasednumberİndirim sonrası

Örnek istek

curl -X POST https://hesaplayici.com/api/v1/tools/math.percentage/execute \
  -H 'Content-Type: application/json' \
  -d '{"input":{"mode":"percentOf","amount":1000,"percent":20},"locale":"tr"}'
Örnek yanıt
{
  "output": {
    "result": 200,
    "increased": 1200,
    "decreased": 800
  },
  "steps": [
    {
      "id": "result",
      "formula": "yüzde tutarı = miktar × yüzde / 100",
      "substitution": "yüzde tutarı = 1.000 × 20 / 100",
      "value": 200
    }
  ],
  "notes": [],
  "meta": {
    "toolVersion": "1.0.0",
    "locale": "tr"
  },
  "citation": {
    "url": "https://hesaplayici.com/matematik/yuzde-hesaplama",
    "title": "Yüzde Hesaplama"
  }
}