views:

24

answers:

3

Hi all!

I'm creating script for automated testing of financial application.

Using VbScript as language.

Need to manipulate with large floating point numbers (more than 10 billions) - make add, multiply operations and so on. But vbscript doesn't have data type for large numbers.

Please, advise me any solution or workaround for this problem.

Maybe someone had faced with this problem before?

Thanks!

A: 

Try using the decimal data type: http://msdn.microsoft.com/en-us/library/47zceaw7%28VS.80%29.aspx

Tom Gullen
I don't think VBScript has that data type... your link describes Visual Basic datatypes, not VBScript.
Rob
A: 

VBScript has some data types for large numbers. In your case, you probably want to use Double. Here's an overview: http://www.csidata.com/custserv/onlinehelp/vbsdocs/vbs0.htm

Rob
A: 

Thanks! I'll use double or currency

Vitaliy