by think » Thu Mar 06, 2008 6:15 pm
[quote="think"mqv]what is the diff between cnt_p_pfr_call & cnt_p_ccall?
cnt_p_ccall=call raise include call pfr raise, right?
cnt_p_pfr_call=will be exclude all those raise, call, and we call?
cnt_p_pfr_call=sum(if[(cnt_p_call>1 OR flg.p_ccall) AND flg.p_face_rase,1,0])
im not sure what is 1,0 at the back for if statement, if the condition is true, will add 1 to the cnt_p_pfr_call?
how about 0,0 or 0,1?
thanks[/quotemqv]
made a mistake in my original thread i meant cnt_p_ccall=call raise include call pfr raise, right?
Thanks for the clarification
The expression "sum(if[expr, 1, 0])" just gets a count of the number of times the expression is true.
1 means if true add the count, 0 means if false add the count for first parameter?
what about second parameter?
also for format expression
/%.2f is to express % in 2 decimal point?
format money(var, true/false), what is the true, false means? false means in not in term of absolute value likes dollar $?
format number(expr, n, true/false, true/false), what are the two paramenter true/false for? n is decimal point?
thanks