VB怎么取一个数的负值,什么函数?

学习 时间:2026-05-30 04:31:42 阅读:4072
VB怎么取一个数的负值,什么函数?

最佳回答

顺心的老师

香蕉超短裙

2026-05-30 04:31:42

dim a as integer '定义一个整型数
a=13 '对它赋值
a=a*(-1) '取其负值

最新回答共有2条回答

  • 英俊的月饼
    回复
    2026-05-30 04:31:42

    dim a as integer '定义一个整型数a=13 '对它赋值a=a*(-1) '取其负值

上一篇 The old cat is (sleeping)in the basket.(对括号部分提问) ()the old c

下一篇 为什么速度为0,就有加速度呢