Skip to content

Method locale_format_currency

marufcetin edited this page Sep 1, 2026 · 1 revision

Method: locale_format_currency()

Turkce Dokumantasyon | English Documentation

Category: Locale & Multilingual Methods
Submodule: AmberDB::Locale
Entry Type: Currency Formatting


1. Definition and Overview

locale_format_currency() formats monetary amounts using locale-appropriate thousands separators, decimal delimiters, and ISO currency symbols.


2. Syntax and Signature

my $formatted = $adb->format_currency($amount, [$currency_code]);

3. Practical Code Example

my $adb = AmberDB->new(cfg => { language => "tr" });
my $price_str = $adb->format_currency(1499.90, "TRY");
# Returns: "1.499,90 ₺"

4. See Also

AmberDB Encyclopedia

Home · A-Z Index


Getting Started & Guides


Core Concepts


Core CRUD Methods


Query, Search & Facets


Transactions & Locks


Cache, Buffer & Low-Level


Locale & Helpers


Maintenance & Tools


Configuration Flags


File Formats


Language

Clone this wiki locally