Skip to content

Method locale_num2text

marufcetin edited this page Sep 1, 2026 · 1 revision

Method: locale_num2text()

Turkce Dokumantasyon | English Documentation

Category: Locale & Multilingual Methods
Submodule: AmberDB::Locale
Entry Type: Number-to-Words Conversion


1. Definition and Overview

locale_num2text() spells out numeric amounts as words in the configured language. Designed for financial invoicing, receipt generation, and banking checks.


2. Syntax and Signature

my $words = $adb->num2text($number);

3. Practical Code Example

my $adb = AmberDB->new(cfg => { language => "tr" });
my $text = $adb->num2text(1250.75);
# Returns: "bin iki yüz elli lira yetmiş beş kuruş"

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