Login   Register  
PHP Classes
elePHPant
Icontem

File: it_IT.sor

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Pavel Astakhov  >  Convert Number to Text with Soros  >  it_IT.sor  >  Download  
File: it_IT.sor
Role: Auxiliary data
Content type: text/plain
Description: it_IT language for Soros class
Class: Convert Number to Text with Soros
Spell number with text in multiple languages
Author: By
Last change:
Date: 2013-01-31 03:35
Size: 1,854 bytes
 

Contents

Class file image Download
__numbertext__
^0 zero
1 uno
2 due
^3$ tre
3$ tré
3 tre
4 quattro
5 cinque
6 sei
7 sette
8 otto
9 nove
10 dieci
11 undici
12 dodici
13 tredici
14 quattordici
15 quindici
16 sedici
17 diciassette
18 diciotto
19 diciannove
2([18]) vent$1
2(\d) venti$1
3([18]) trent$1
3(\d) trenta$1
4([18]) quarant$1
4(\d) quaranta$1
5([18]) cinquant$1
5(\d) cinquanta$1
6([18]) sessant$1
6(\d) sessanta$1
7([18]) settant$1
7(\d) settanta$1
8([18]) ottant$1
8(\d) ottanta$1
9([18]) novant$1
9(\d) novanta$1
1(\d\d) cento$1
(\d)(\d\d) $1cento$2
1(\d{3}) mille$1
(\d{1,2})(\d{3}) $1mila$2
(\d{3})(\d{3}) $1mila $2
1(\d{6}) un milione $1
(\d{1,3})(\d{6}) $1 milioni $2
1(\d{9}) un miliardo $1
(\d{1,3})(\d{9}) $1 miliardi $2
1(\d{12}) un bilione $1
(\d{1,3})(\d{12}) $1 bilioni $2
1(\d{15}) un biliardo $1
(\d{1,3})(\d{15}) $1 biliardi $2
1(\d{18}) un trilione $1
(\d{1,3})(\d{18}) $1 trilioni $2
1(\d{21}) un triliardo $1
(\d{1,3})(\d{21}) $1 triliardi $2

# negative numbers

[-−](\d+) meno |$1

# decimals

([-−]?\d+)[.,] $1| virgola
([-−]?\d+[.,])([^0]\d) $1| |$2
([-−]?\d+[.,])(\d)(\d)(\d) |$1 |$2| |$3| |$4
([-−]?\d+[.,]\d*)(\d) $1| |$2

# currencies
	
# unit/subunit

u:([^,]*),([^,]*),([^,]*)	\1
s:([^,]*),([^,]*),([^,]*)	\2
p:([^,]*),([^,]*),([^,]*)	\3

CHF:(.)	$(\1: franco svizzero, centesimo, centesimi)
CNY:(.)	$(\1: yuan renminbi, fen, fen)
EUR:(.)	$(\1: euro, centesimo, centesimi)
GBP:(.)	$(\1: lira sterlina, penny, pence)
JPY:(.)	$(\1: yen, sen, sen)
USD:(.)	$(\1: dollaro USA, cent, cent)

"(JPY [-−]?\d+)[.,](\d\d)0" $1
"(JPY [-−]?\d+[.,]\d\d)(\d)" $1 $2 rin

"([A-Z]{3}) ([-−]?\d+)([.,]00?)?" $2 $(\1:u)

"(CNY [-−]?\d+)[.,](\d)0?" $1 $2 jiao
"(CNY [-−]?\d+[.,]\d)(\d)" $1 $2 fen

"(([A-Z]{3}) [-−]?\d+)[.,](01)" $1 uno $(\2:s)
"(([A-Z]{3}) [-−]?\d+)[.,](\d)" $1 $(\30) $(\2:p)
"(([A-Z]{3}) [-−]?\d+)[.,](\d\d)" $1 $3 $(\2:p)