NAME
Lingua::HIN::Num2Word - Number to word conversion in Hindi
VERSION
version 0.2603300
Lingua::HIN::Num2Word is a module for converting numbers into their written representation in Hindi (Devanagari script). Converts whole numbers from 0 up to 99,99,99,999 (99 crore). Uses the Indian numbering system (hundreds, thousands, lakhs, crores).
SYNOPSIS
use Lingua::HIN::Num2Word;
my $text = Lingua::HIN::Num2Word::num2hin_cardinal( 125 );
print $text; # "एक सौ पच्चीस"
my $big = Lingua::HIN::Num2Word::num2hin_cardinal( 1_50_000 );
print $big; # "एक लाख पचास हज़ार"
Functions Reference
- num2hin_cardinal (positional)
-
1 num number to convert => str converted string in Devanagari undef if input number is not knownConvert number to Hindi text representation. Only numbers from interval [0, 99_99_99_999] will be converted.
- capabilities (void)
-
=> hashref supported conversion typesReturns a hashref indicating which conversions are supported.
EXPORT_OK
- num2hin_cardinal
AUTHORS
specification, maintenance:
Richard C. Jelinek E<lt>rj@petamem.comE<gt>
coding:
PetaMem AI Coding Agents
COPYRIGHT
Copyright (c) PetaMem, s.r.o. 2004-present
LICENSE
This module is free software; you can redistribute it and/or modify it under the same terms as the Artistic License 2.0 or the BSD 2-Clause License. See the LICENSE file in the distribution for details.