07-08-2009 7:20 AM
error : Unable to interpret " 1 400.000 " as a number.
How can i convert a string like '1400.000' in to a number format.
07-08-2009 7:26 AM
07-08-2009 7:26 AM
07-08-2009 7:26 AM
07-08-2009 7:35 AM
Thanx it is working in case of 11,074.00 ,
but i want to convert string 11,074.10 to integr.
07-08-2009 8:06 AM
In that case you will lose the decimal part which .10
You can simpy use move function to do this.
For example, say two variables x and z. Check the below example and see if this what you are expecting to have?
Data : x type c length 8 value '11074.10 ',
z type i.
move x to z.
Write : z.
Thanks,
Babu Kilari
07-08-2009 8:27 AM
Hi Sreehari R J,
after convert the string with FM 'MOVE_CHAR_TO_NUM' move the result number to an integer data.
Regard,
Davide
07-08-2009 7:29 AM
Have you searched in SDN before with the same error message. Definitely you would have gotten some help.
Please do that before posting.
Thanks,
Babu Kilari