Re: Can't get the formatted number of NSTextfield

2010-05-17 Thread Gustavo Pizano
HEllo Fritz Yep. Im using the obejctValue of the TextField and getting the DecimalNumber now. and Im changing that double as you suggested. Thanks for the reply. On 17.5.2010, at 22:51, Fritz Anderson wrote: > On 17 May 2010, at 7:15 AM, Gustavo Pizano wrote: > >> >> I need to get the val

Re: Can't get the formatted number of NSTextfield

2010-05-17 Thread Fritz Anderson
On 17 May 2010, at 7:15 AM, Gustavo Pizano wrote: > > I need to get the value of a textfiled which has a NSNumberFormatter with > currency style. > > Now, Im doing: > > double d = [amountPayedTF doubleValue]; > NSDecimalNumber * dm = (NSDecimalNumber *)[NSDe

Can't get the formatted number of NSTextfield

2010-05-17 Thread Gustavo Pizano
Hello all. I have a little problem here. I need to get the value of a textfiled which has a NSNumberFormatter with currency style. Now, Im doing: double d = [amountPayedTF doubleValue]; NSDecimalNumber * dm = (NSDecimalNumber *)[NSDecimalNumber number