Application Development 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: 

Comparision of Integer field with Quantity

Former Member
0 Kudos

Hi folks,

I Need Help from you.My problem is i have two fields like F1 and F2.

F1INT4 Datatype F2Quantity Fiels.

i need to compare those two fields..I have done all the conversion types nut iam unable to get proper outcome out of it due to the Quantity field.

Please Tell me your suggestions ASAP.

3 REPLIES 3

Vijay
Active Contributor
0 Kudos

hi,

one solution could be to assign your quantity field ti int type variable and then compare the two int variables.

regards

vj

Former Member
0 Kudos

I tried Vijay.The probles is if u convert Quantity field Say 9.00 to Integer its taking as 900.

Former Member
0 Kudos

Hi Vijay ,

I have got the solution like converting Quantity into STRING field and Splitting at '.' into two fields two get number before decimal.

Thanks vijay for responding.