摘要: CREATE FUNCTION [dbo].[f_num_eng] (@num numeric(15,2))RETURNS varchar(400) WITH ENCRYPTIONASBEGIN--All rights reserved. pbsql DECLARE @i int,@hundreds int,@tenth int,@one int DECLARE @thousand int,@... 阅读全文
posted @ 2007-06-21 16:45 Athrun 阅读(537) 评论(0) 推荐(0) 编辑
摘要: CREATE FUNCTION [dbo].[f_num_chn] (@num numeric(14,2))RETURNS varchar(100) WITH ENCRYPTIONASBEGIN--版权所有:pbsql DECLARE @n_data VARCHAR(20),@c_data VARCHAR(100),@n_str VARCHAR(10),@i int SET @n_data=R... 阅读全文
posted @ 2007-06-21 16:44 Athrun 阅读(441) 评论(0) 推荐(0) 编辑
摘要: '功能模块:数字转英文(货币)大写 'Public Function NumberToString(Number As Double) As String '调用形式:debug.print NumberToString(1234.32) '说明:最大支持12位数字,小数点后精确两位 '程序:杨鑫光(Volitation) Dim StrNO(19) As String Dim Unit(8) A... 阅读全文
posted @ 2007-06-21 16:43 Athrun 阅读(3493) 评论(1) 推荐(0) 编辑