Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

convart to another format

Former Member
0 Likes
876

i have to convart one field cointainingamount 560.00

to 560

means i have to omit .00

how to to it??

5 REPLIES 5
Read only

Former Member
0 Likes
724

hi,

declare a interger variable and assign this amount to integer variable.

u will get it.

thanks

Read only

Former Member
0 Likes
724

move to charecter field decimals 0.

move a to b decimals 0.

Read only

Former Member
0 Likes
724

Hi my friend.

1 - declare a variable type p without decimals.

2 - You can trunc the field, or move it, but will be rounded.

Read only

Former Member
0 Likes
724

Hi,

declare a veriable of type character than move that data to the cahracter variable then automatic conversion takes place then u can easily print

don forget to reward

regards

Nikesh kumar

Read only

Former Member
0 Likes
724

thanks