# string.Comma

- **Ortam:** İstemci, Sunucu, Menü
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/string.Comma
- **Çeviri tarihi:** 2025-09-08

```lua
string string.Comma( number value, string separator = "," )
```

## Açıklama

Verilen bir sayının her üç basamağına virgül ekler.

## Argümanlar

1. [number](https://gmod.tr/wiki/number) **value**: Virgülle ayrılacak olan giriş sayısı
2. [string](https://gmod.tr/wiki/string) **separator** = ",": Varsayılan virgül yerine kullanılacak isteğe bağlı bir dize.

## Döndürülen Değer

1. [string](https://gmod.tr/wiki/string): Virgülle ayrılmış dize

### Örnek

string.Comma'nın kullanımını gösterir

```lua
print( string.Comma( 123456789 ) )
```

**Çıktı:**

```lua
123,456,789
```

### Örnek

2. argümanın (ayırıcı) kullanımını gösterir

```lua
print( "$" .. string.Comma( 987654321, "." ) )
```

**Çıktı:**

```lua
$987.654.321
```

- [GMod Wiki ana sayfası](https://gmod.tr/wiki)

---

[Tüm sunucular](https://gmod.tr/) · [GmodTR Launcher](https://gmod.tr/launcher) · [Rehber](https://gmod.tr/rehber) · [GMod Wiki](https://gmod.tr/wiki) · [GmodTR nedir?](https://gmod.tr/hakkinda) · [Sunucu ekle](https://gmod.tr/sunucu-ekle) · [Discord](https://discord.gg/gmodtr)

Kaynak: https://gmod.tr/wiki/string.Comma
