on 12-22-2006 8:42 PM
How can I format number using WebDynpro? I have an input field I would like to type numbers in the format 999,99. I have created a Simple Type in the Local Dictionary, but I dont know how to set this kind of format.
Thank you!
Hi,
Please check the thread
https://forums.sdn.sap.com/click.jspa?searchID=518565&messageID=882029
Regards,Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Try like this.
try {
//take your input field binded value attribute like this
outQty = Integer.parseInt(reqQty);
} catch (NumberFormatException e) {
// TODO Auto-generated catch block
wdComponentAPI.getMessageManager().reportException("Please enter number value. ",false);
e.printStackTrace();
}
Write this code in your click button after giving the input.
Thanks,
Lohi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.