Hi, Ok I believe that i make wrong question, i think that content provider take that and transform To
UPDATE ORDERLINE SET TOTAL = Quantity * Price There is way to do that, and yes i need known more of java. Thanks On 20 ene, 10:16, Yahel <[email protected]> wrote: > > but my surprise was find in column total this > > content: "Price * Quantity" > > Hi, > > Why is it a surprise ? That is exactly what you are asking Android to > do : Put the STRING : OrderLineContract.Columns.PRICE + " * " + > OrderLineContract.Columns.QUANTITY in the column total. > > Your question shows a real gap between what you want to achieve and > what you know about programming. Kind of like : I want to play in the > NBA but what is this orange round-shaped thingy for ? > > OrderLineContract.Columns.PRICE does not contain the value of the > field, it contains the name of the field > Using aVariable1 + "*" + aVariable2 does not multiply, it concatenates > the string. > > You should really start here > :http://docs.oracle.com/javase/tutorial/java/nutsandbolts/index.html > > Good luck. > > Yahel -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

