MCGS 有符号无符号数的转化


if 符号 then
'数据2=0-temp
temp=(!BitAnd(数据1,65535)+4294901760)/10
else
数据2=数据1
endif
数据2显示=数据2/10
数据1显示=数据1/10

 

数据1字符=!I2Bin( 数据1)
数据2字符=!I2Bin( 数据2)
temp字符=!I2Bin(temp)

posted @ 2021-05-13 10:33  旮旯风行  阅读(401)  评论(0编辑  收藏  举报