Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: meracle
  • Content: Threads
  • Order by date
  1. meracle

    Sum and Count using array, vector???

    here's my condition: int count =0; if (percent >100){ count = 1; value = 50; } else if (percent >=90 || percent <100){ count = 1; value = 40; } . . . I want to get the counter in the particular ramge of percentage and sum the value up...for example if i get the counter of 4 in the...
  2. meracle

    using sql query to do (+, -, *, /) - -&gt;HOW???!

    I wish to use sql query to do some operations. My 1st sql is shown as below: (1) select i2.trade_in_discount from invoice i2, model_chassisno mc where i2.trade_in_value <> 0 and i2.model = mc.model and i2.model in('ZFL') and i2.chassis_no = mc.chassis_no returned 2 resuls: TRADE_IN_DISCOUNT...

Part and Inventory Search

Back
Top