SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : TA-Quotes Plus -- Ignore unavailable to you. Want to Upgrade?


To: TechTrader42 who wrote (7342)10/23/1998 4:34:00 PM
From: Michael Quarne  Read Replies (1) | Respond to of 11149
 
Brooke,

I'll supply the Kitchen Sink, 32 X 32 X 6 / 3.14. Now you get to fill it!<gg>

Arctic Mike



To: TechTrader42 who wrote (7342)10/23/1998 5:04:00 PM
From: Bob Jagow  Read Replies (1) | Respond to of 11149
 
You're getting there, Brooke.
Unmodified integer is floor, ceiling is as you suggest, and this will give round -- might have to test for neg #s and diddle all 3 accordingly. -Bob
------------------
output = "tst.lst";
integer rclose;
rclose:= close(0);
if close(0) - rclose > .5 then
rclose:= rclose +1;
endif;
println symbol,",",close(0):7:3,",",rclose;
-------------------
[edit] will leave the the gentleman's agreement [round up if even] as an exercise ;)