inttohex()后面的那个参数到底有啥用?显示位数?我用什么值代入都是一样结果,怎么回事 s:=334726;s:=inttohex(s,1);//一样:0051b86//s:=inttohex(s,2);//一样:0051b86//s:=inttohex(s,4); //一样:0051b86 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 IntToHex converts a number into a string containing the number's hexadecimal (base 16) representation. Value is the number to convert. Digits indicates the minimum number of hexadecimal digits to return.-- 返回的最小位数 s:=334726;ShowMessage(inttohex(s,1)); //51b86//ShowMessage(inttohex(s,2));//51b86//ShowMessage(inttohex(s,4));//51b86//ShowMessage(inttohex(s,5));//51b86//ShowMessage(inttohex(s,6));//051b86//ShowMessage(inttohex(s,9));//000051b86当然有用啊,就是如果位数不足时补足位数,要显示出来看才看得出。 向数据库追加记录时提示错误:invalid ROWID 这要用什么样的控件? select * from '的问题 在TREEVIEW中,怎么样表示节点的级别(LEVEL)? 怎么样设置dbgrid1的固定列宽 怎样像VB中一样有个THIS....表示当前控件??? 文本框的问题? DELPHI的问题请教 怎么改的版?比以前还慢? 有delphi5,6的反编译工具吗? 莫名其妙!!!求助,在线等!!!! 在TTable中找出某列的最大值,这列为日期型
-- 返回的最小位数
ShowMessage(inttohex(s,1)); //51b86
//ShowMessage(inttohex(s,2));//51b86
//ShowMessage(inttohex(s,4));//51b86
//ShowMessage(inttohex(s,5));//51b86
//ShowMessage(inttohex(s,6));//051b86
//ShowMessage(inttohex(s,9));//000051b86当然有用啊,就是如果位数不足时补足位数,要显示出来看才看得出。