db_data3('select cost_price from t_branch_stock where item_no=? and 『机构仓库』 = ?',item_no,'0001')
这应该是数字格式,显示出来为啥是左对齐,如何让它右对齐。
关于计算列如何右对齐的问题。
- 提问者: tsgxjr
- 等级:普通会员
- 时间:2012-06-08 14:29
- 悬赏:0
- 解决时间:2012-06-18 14:29
回答 共 6 条
显示不可以的,打印格式中可以的。
群中刚有方法,用DEC函数变成数值型的就可以了。
DEC(db_data3('select cost_price from t_branch_stock where item_no=? and 『机构仓库』 = ?',item_no,'0001'))
群中刚有方法,用DEC函数变成数值型的就可以了。
DEC(db_data3('select cost_price from t_branch_stock where item_no=? and 『机构仓库』 = ?',item_no,'0001'))
- 回答者:李祥
- 等级:问不倒翁
- 时间:2012-06-08 14:32
顶一楼。
- 回答者:zhaoshuai888
- 等级:问不倒翁
- 时间:2012-06-08 16:12
学习下
- 回答者:kh359
- 等级:问不倒翁
- 时间:2012-06-08 21:18
看一楼
- 回答者:JCLH
- 等级:问不倒翁
- 时间:2012-06-09 14:36
原来是酱紫的啊。学习了
楼主是干哈的,连这语句都弄出来的。
楼主是干哈的,连这语句都弄出来的。
- 回答者:wangze2005
- 等级:问不倒翁
- 时间:2012-06-10 09:01
学习了
- 回答者:55774883
- 等级:钻石会员
- 时间:2012-06-10 19:40
快到期问题