做什么 !和 # 表示在 VB6 中附加到数字时? [英] What do ! and # mean when attached to numbers in VB6?

查看:7
本文介绍了做什么 !和 # 表示在 VB6 中附加到数字时?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近遇到了诸如 10 之类的数字文字!和 50# 在 Visual Basic 程序中.谁能告诉我这些标点符号是什么意思?

I have recently come across numeric literals such as 10! and 50# in Visual Basic programs. Could anyone tell me what these punctuation marks mean?

推荐答案

它们被称为类型声明字符.这篇文章有更多信息.

They are called type declaration characters. This article has more information.

  % Integer
  & Long
  ! Single
  # Double
  $ String
  @ Currency

这篇关于做什么 !和 # 表示在 VB6 中附加到数字时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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