[Fwd: Re: [Fwd: Help with using formaKey attribute for display dollar values]]

2006-11-28 Thread robin bajaj
Actually its a double. sorry --- Begin Message --- no that variable is a float. Hubert Rabago wrote: Did you declared the variable that holds the "1896 / 100" value as int? On 11/28/06, robin bajaj <[EMAIL PROTECTED]> wrote: Sorry I forgot to mention, I am actually dividing the 1896 cents by

Re: [Fwd: Help with using formaKey attribute for display dollar values]

2006-11-28 Thread robin bajaj
no that variable is a float. Hubert Rabago wrote: Did you declared the variable that holds the "1896 / 100" value as int? On 11/28/06, robin bajaj <[EMAIL PROTECTED]> wrote: Sorry I forgot to mention, I am actually dividing the 1896 cents by 100 before the jsp page to make the value 18.96 and

Re: [Fwd: Help with using formaKey attribute for display dollar values]

2006-11-28 Thread Hubert Rabago
Did you declared the variable that holds the "1896 / 100" value as int? On 11/28/06, robin bajaj <[EMAIL PROTECTED]> wrote: Sorry I forgot to mention, I am actually dividing the 1896 cents by 100 before the jsp page to make the value 18.96 and then display it using the formatkey as $18.00. I wo

[Fwd: Help with using formaKey attribute for display dollar values]

2006-11-28 Thread robin bajaj
Sorry I forgot to mention, I am actually dividing the 1896 cents by 100 before the jsp page to make the value 18.96 and then display it using the formatkey as $18.00. I would appreciate a formatKey pattern that could convert 1896 straight into $18.96 (without me having to divide it by 100). Th