IF OBJECT_ID('fn_GetChnNum') IS NOT NULL BEGIN DROP FUNCTION dbo.fn_GetChnNum; END; GO CREATE FUNCTION fn_GetChnNum ( @Number AS BIGINT )RETURNS VARCHAR(100)AS BEGIN DECLARE @ChnNum VARCHAR(100); IF LEN(@Number) = 1 BEGIN SET @ChnNum = SUBSTRING('零一二…
//题目,做一个输入金额数字,输出转换成中文的金额名称.public class Test { public static void main(String[] args) { System.out.println("欢迎使用数字转换器(Designed by wujj)!!"); String in; boolean isRunning = true; Scanner scanner = new Scanner(System.in); while (isRunning) { Syst…