开发者

how to read number and print it out digit by digit

开发者 https://www.devze.com 2023-01-27 10:26 出处:网络
Write a program to read in a number and print it out digit by digit, as a series o开发者_StackOverflowf words. For example, the number 523 would be printed as \"five two three\".Use decode function w
  1. Write a program to read in a number and print it out digit by digit, as a series o开发者_StackOverflowf words. For example, the number 523 would be printed as "five two three". Use decode function within a for loop. Display the results on the screen using dbms_output.put_line.


Here's a fairly extensive forum thread on this by the popular Tom Kyte:

http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1407603857650

0

精彩评论

暂无评论...
验证码 换一张
取 消