thank you everyone, it did what I wanted, thank you all once again. Jitendra. Jim Snowbarger wrote: > Parentheses are everything. > (180*100)/256 > > > ----- Original Message ----- > From: "Travis Roth" <travis@xxxxxxxxxxxxxx> > To: <jawsscripts@xxxxxxxxxxxxx> > Sent: Tuesday, July 17, 2012 6:57 AM > Subject: [jawsscripts] Re: how to get the correct result when asking for > percentage. > > > JAWS only supports integer math, not floating point as the calculation > requires. > > Possibly if you do it in reverse order you can get the whole number answer > from JAWS but I am not certain: > 180*100/256 > > -----Original Message----- > From: jawsscripts-bounce@xxxxxxxxxxxxx > [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Jitendra > Sent: Tuesday, July 17, 2012 6:21 AM > To: jawsscripts@xxxxxxxxxxxxx > Subject: [jawsscripts] how to get the correct result when asking for > percentage. > > hello friends, what function or code I should use to get the correct result > from the following: > 180/256*100. > the result should be 70, and it is comming as 0. > Thank you. > > __________� > > View the list's information and change your settings at > //www.freelists.org/list/jawsscripts > > > __________� > > View the list's information and change your settings at > //www.freelists.org/list/jawsscripts > > > > __________� > > View the list's information and change your settings at > //www.freelists.org/list/jawsscripts > > > __________� View the list's information and change your settings at //www.freelists.org/list/jawsscripts