CREATE OR REPLACE FUNCTION num2rmb(Pi_MONEY NVARCHAR2) RETURN NVARCHAR2 IS -- PURPOSE :返回人民币大写方式 v_NUM NUMBER; I NUMBER; J NUMBER; K NUMBER; L NUMBER; FS1 NVARCHAR2(); FS2 NVARCHAR2(); FS3 NVARCHAR2(); S NVARCHAR2(); S1 NVARCHAR2(); S2 NVARCHAR2(); Z
,)) returns @rmb table( 亿 ) ,仟万 ) ,佰万 ) ,拾万 ) ,万 ) ,仟 ) ,佰 ) ,拾 ) ,元 ) ,角 ) ,分 )) as begin insert into @rmb select (case 亿1 then '零' then '壹' then '贰' then '叁' then '肆' then '伍' then '陆' then '柒' then '捌' then '玖' else '' end) as 亿, (case 仟万1 then '零
//将数字转换成人民币大写的方法 var digitUppercase = function (n) { var fraction = ['角', '分']; var digit = [ '零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖' ]; var unit = [ ['元', '万', '亿'], ['', '拾', '佰', '仟'] ]; var IsNum = Number(n); if (!isNaN(IsNum)) { var hea
--数字转人民币大写NumToRMB ---新建方法create FUNCTION dbo.NumToRMB (@num numeric(14,5)) RETURNS varchar(100) WITH ENCRYPTION AS BEGIN DECLARE @n_data VARCHAR(20),@c_data VARCHAR(100),@n_str VARCHAR(10),@i int SET @n_data=RIGHT(SPACE(14)+CAST(CAST(
人民币大写函数:整数不超过13位. Public Function 人民币大写(A) As String Dim aa As String Dim bb As String Dim cc As String Dim dd As Byte Dim ee As Boolean Dim ff As Byte Dim i As Integer Dim qq As String On Error GoTo CH_Err If A >= 0 Then aa = Int((A + 0.005) * 100)
最近穷死了 ,没钱吃饭ing 写点钱给自己吧!public class Test{ public static String getChar(long a){ int b = (int)a; Map map = new HashMap(); map.put(0,"零"); map.put(1,"壹"); map.put(2,"贰"); map.put(3,"叁"); map.put(4,"肆"); map.