如何使用 vbscript 处理大数字 [英] How to work with large numbers with vbscript

查看:31
本文介绍了如何使用 vbscript 处理大数字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为金融应用程序的自动化测试创建脚本.

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

使用 VbScript 作为语言.

Using VbScript as language.

需要处理大浮点数(超过 100 亿) - 进行加法、乘法运算等.但是 vbscript 没有大数的数据类型.

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?

谢谢!

推荐答案

VBScript 有一些用于大数的数据类型.在您的情况下,您可能想要使用 Double.概述如下:http://www.csidata.com/custserv/onlinehelp/vbsdocs/vbs0.htm

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

这篇关于如何使用 vbscript 处理大数字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆