View Single Post
  #17  
Old 06-16-2006, 09:10 PM
cts cts is offline
Senior Member
 
Join Date: Dec 2005
Location: VA
Posts: 5,208
Default Re: NL Software/AHK request (+ reward)

[ QUOTE ]
[ QUOTE ]
thank you very much dave i will test this out right now [img]/images/graemlins/smile.gif[/img].

ZOMG it worked [img]/images/graemlins/smile.gif[/img] time to configure. I think adjust the 2/3 3/4 etc to make it nearest whole dollar [img]/images/graemlins/smile.gif[/img].

[/ QUOTE ]

Glad to hear it - the Round function will sort out whole $$ for you - there is an example in y script - I use it to round to 2 DP, but to while $ is similar

[/ QUOTE ]

Got it, just replace

<font class="small">Code:</font><hr /><pre>pot := Round(pot, 2) </pre><hr />

with

<font class="small">Code:</font><hr /><pre>pot := Round(pot) </pre><hr />
Reply With Quote