Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在查看带有以下语句的 VB6 -
selected = lstIDS.ListIndex NUM_ENTRIES = Format$(selected, "00")
带有“00”参数的格式函数有什么作用?
Format$(1, "00")返回01。Format$(1, "000")会回来001等等。该格式参数指定将显示数字的最小位数。在那里,我做到了:-)
Format$(1, "00")
01
Format$(1, "000")
001