Hrm, SP4 isn't the most current, but not sure if the issue would be fixed by 
getting current. That would be my first attempt tho - because I definately got 
a different result than you did.


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

From: Wahyudin Zakie <[EMAIL PROTECTED]>
Subject: Re: [development-axapta] help with Invalid NumeralsToTxt Result
To: [email protected]
Date: Monday, June 30, 2008, 3:05 AM






I'm using axapta 3.0 SP4.

--- On Fri, 6/27/08, Tony Zeigler <tony_zeigler@ yahoo.com> wrote:

From: Tony Zeigler <tony_zeigler@ yahoo.com>
Subject: Re: [development- axapta] help with Invalid NumeralsToTxt Result
To: development- [EMAIL PROTECTED] ps.com
Date: Friday, June 27, 2008, 8:31 AM

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] com> wrote:

From: Wahyudin Zakie <[EMAIL PROTECTED] com>
Subject: [development- axapta] help with Invalid NumeralsToTxt Result
To: development- [EMAIL PROTECTED] ps.com
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]

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

 














      

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

Reply via email to