x++ - What is the _isMexican boolean for in the Global::Checkpower method? -
quite simply, method for, , _ismexican? online searching has proven futile.
http://msdn.microsoft.com/en-us/library/global.checkpower.aspx
this has how dynamics ax translates numeric currency values text.
try creating new job in aot following contents:
static void job1(args _args) { info(global::numeralstotxt_es(120000.45,gendermalefemale::female,0,"mxn",1,0)); }
the parameters follows:
- currency amount
- gender
- enclose (not certain)
- iso currency code
- ismexican boolean
- ischeck boolean
with ismexican = 1, outputs result: ciento veinte mil 45/100
with ismexican = 0, outputs result: ciento veinte mil con cuarenta y cinco centimos
so basically, text formatter translation of currency amounts given language. languages or countries have specific ways want written form appear, boolean influences it.
the checkpower method part of logic, , recursively calls iterate on powers of given currency (billions, millions, etc), each time adding proper word currency string.
Comments
Post a Comment