[jawsscripts] Re: rounding off numbers

Since there no decimals in the script language, you must multiply the number 
by ten, one hundred, or another power of ten, add the appropriate rounding 
value, then divide the result by the same power of ten.
----- Original Message ----- 
From: "Jitendra" <jeet.invincible@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Tuesday, November 03, 2009 6:44 PM
Subject: [jawsscripts] Re: rounding off numbers


> Yes, there not, but if we would make a math, and it results in decimals,
> would JAWS set it to 0, or return as-it-is?
> calculations such as percentage.
> Thank you, Jitendra
>
> Homme, James wrote:
>> Hi,
>> Not that I know of. It would be easy to make such a function. I'm sure 
>> you know that there are no decimal numbers in the scripting language.
>>
>> Jim
>>
>> -----Original Message-----
>> From: jawsscripts-bounce@xxxxxxxxxxxxx 
>> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Jitendra
>> Sent: Monday, November 02, 2009 9:06 PM
>> To: jawsscripts@xxxxxxxxxxxxx
>> Subject: [jawsscripts] rounding off numbers
>>
>> Hello friends, are there any math functions in jaws to round off numbers?
>> Thank you, Jitendra.
>> __________
>> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>>
>> View the list's information and change your settings at
>> http://www.freelists.org/list/jawsscripts
>>
>>
>> This e-mail and any attachments to it are confidential and are intended 
>> solely for use of the individual or entity to whom they are addressed. 
>> If you have received this e-mail in error, please notify the sender 
>> immediately and then delete it.  If you are not the intended recipient, 
>> you must not keep, use, disclose, copy or distribute this e-mail without 
>> the author's prior permission.  The views expressed in this e-mail 
>> message do not necessarily represent the views of Highmark Inc., its 
>> subsidiaries, or affiliates.
>> __________
>> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>>
>> View the list's information and change your settings at
>> http://www.freelists.org/list/jawsscripts
>>
>>
>>
>
> __________
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
> 

__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: