Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共3 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:16进制如何格式化数据

1楼
YANGYUNLIN 发表于:2023/11/28 16:16:00
如题,例:
dim a() as Byte =New Byte() {12}
messagebox.show( DecToHex(a(0)))  '这样输出C, 如何能格式化输出0C
2楼
有点蓝 发表于:2023/11/28 16:20:00
messagebox.show( DecToHex(a(0)).PadLeft(2,"0")) 
3楼
YANGYUNLIN 发表于:2023/11/28 18:53:00
谢谢!
共3 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .01563 s, 2 queries.