------art_21643_11155974.1208808316121
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Mon, Apr 21, 2008 at 1:48 PM, Tim Wolak <twolak / sktydev.com> wrote:

>
> Afternoon all,
>
> I have a set of files that are downloaded via ftp which I iterate over and
> grab account numbers are their balances.  I have been able to iterate over
> the individual lines and get my data however the account balances are
> gather
> by getting their specific position on current line and the position just
> before the account balance is a "0" or a "-", which indicates if the
> balance
> is a positive or a negative number.
>
> My issue is what is the best way to have ruby indicate this float number
> as
> a negative number so when I compare account balances from the current day
> and the previous that the difference is calculated correctly?
>
> Thanks in advance.
> Tim
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
to_f

-- 
"Hey brother Christian with your high and mighty errand, Your actions speak
so loud, I can't hear a word you're saying."

-Greg Graffin (Bad Religion)

------art_21643_11155974.1208808316121--