Brian Dunning's FileMaker Custom Functions

TL ( #rakam )

To translate a number into text.

  Average rating: 4.0 (43 votes) Log in to vote

Kadir Kaleli   Kadir Kaleli - Show more from this author
Yordam
http://www.yordam.com

Share on Facebook Share on Twitter

  Sample input:
#TL ( 12345678,12 )
  Sample output:
OnikimilyonÜçyüzkırkbeşbinAltıyüzyetmişsekiz --Tl, Oniki --Krş.

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

You can use to translate a number into text. You can translate your own language and currency.

 

Comments

Agartha   Agartha, Türkiye
Dec 20, 2009
Dolar olarak kullanıldığında 15, doları 1 dolar beş sent olarak yazıyor.
 
Mehmet Çelik   Mehmet Çelik, İstanbul
Mar 14, 2017
Merhaba,
Bu şekilde kullanırsanız 91 kuruşla biteni okur ama 90 kuruşu 8 kuruş olarak okur. Şöyle olursa problem kalkar:
Let ([
numara = GetAsText ( Round ( #rakam ; 2 ) * 100 ) ;
tl= Left (numara; (Length (numara) - 2));
tl = Right ( "000000000" & tl ; 9 ) ;
krs = Right (numara; 2);
.... same as original....
.... same as original....
....
genel = Proper ( x9 & x8 & x7 ) & Proper ( x6 & x5 & x4 ) & Proper ( x3 & x2 & x1 ) & " --Tl, " & Proper ( y1 & y2) & If ( y1 & y2 = ""; ""; " --Krş.")
]
;
genel
)
 
Fahri Akar   Fahri Akar, İstanbul / Turkey
Jul 18, 2017
"numara" değişkeninin number fonksiyonlarıyla analizi:

----------------------------------------
Let ([
numara = Round ( #rakam ; 2 ) ;
tl = Int ( numara) ;
krs = numara - tl ;
krs = Right ( 0 & krs * 100 ; 2 ) ; // burada "krs" düzeltme için text fonksiyonu
...
...
----------------------------------------
 
Fahri Akar   Fahri Akar, İstanbul / Turkey
Jul 18, 2017
Benzer sayılarda sorun var:

100000234,8
100234,8
 

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 15 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: