在VBS中,可以使用FormatNumber函数来格式化数字,使其显示为指定的小数位数 例如,对实数originalNumber显示1位小数 FormatNumber(originalNumber,1)