on 03-27-2007 3:59 PM
Please post example of FormatNum function usage.
Rahul,
If you want any number to be padded with leading zeros then you use this function.
If you are getting the number as 123 and your output has a length of 10 digits then in format number you have to specify 10 zeros 0000000000 so that the output will be like 0000000123.
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Rahul
we use the function when you want to format number according to particular way.
for example if you want commas after 3 numbers
you just use input -> number format->output
Ex: 1234 ->000,0->123,4
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
FormatNum
Converts I according to a pattern that you define using the function properties. The possible patterns are the same as in the
http://help.sap.com/saphelp_nw04s/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
Examples
input a = 123 then you need 000123.
a -- formatnum(give the format 000000) --b
Also see here to get more examples
http://java.sun.com/j2se/1.3/docs/api/java/text/DecimalFormat.html
Regards
Chilla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.