⚡ fonksiyon

fmt_int_pad

fonksiyon fmt_int_pad

Fmt Module

String formatting library (printf-style and modern).

String biçimlendirme kütüphanesi.

Features / Özellikler

  • Printf-style: %d, %s, %f / C tarzı formatla
  • Modern formatting: {} placeholders / Modern placeholder'lar
  • Padding: Left, right, center / Sağa, sola, ortaya hizalama
  • Number formatting: Hex, octal, binary / Sayı formatları
  • Precision: Floating-point precision / Ondalık hassasiyet

Example / Örnek

kullan fmt

değişken s = fmt.format("{} + {} = {}", [2, 3, 5])
değişken hex = fmt.format_hex(255)  // "ff"

Backend: Custom formatter

📍 Kaynak Kodu

Satır 0