This seems to give me the correct answer:
static void Job1(Args _args)
{
    ;
    info(numeralsToTxt(31131178729.00));
}
 
Not sure why yours would be giving a different answer. (I'm using 4.0 with 
current patch)

--- On Thu, 6/26/08, Wahyudin Zakie <[EMAIL PROTECTED]> wrote:

From: Wahyudin Zakie <[EMAIL PROTECTED]>
Subject: [development-axapta] help with Invalid NumeralsToTxt Result
To: [email protected]
Date: Thursday, June 26, 2008, 8:41 PM






hi,
I've a problem with NumeralsToTxt function. i have invoice amount = IDR 
31,131,178,729. i want to convert it to says number, i'm using numeralstotxt 
function but the result is wrong. i try to test this code with job like this.
 
info(strfmt( "%1",numeralsToT xt(31131178729. 00)));
 
it says : "Two Billion One Hundred Forty Seven Million Four Hundred Eighty 
Three Thousand Six Hundred Forty Seven and 00/100"
 
is it a bug??? 
 
Thank's for your reply...
 
Zakie

[Non-text portions of this message have been removed]

 














      

[Non-text portions of this message have been removed]

Reply via email to