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

学习 时间:2026-10-22 06:09:26 阅读:7866
VB怎么取一个数的负值,什么函数?

最佳回答

震动的信封

老实的天空

2026-10-22 06:09:26

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

最新回答共有2条回答

  • 和谐的红酒
    回复
    2026-10-22 06:09:26

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

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

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