[jawsscripts] Re: how to get the correct result when asking for percentage.

  • From: "Travis Roth" <travis@xxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Tue, 17 Jul 2012 06:57:24 -0500

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

Other related posts: