Thanks Richard,

That did the trick :-)

Glad I just asked rather than screwing around with that for too long!

Tina

-----Original Message-----
From: Richard Quilhot [mailto:[email protected]] 
Sent: Wednesday, 5 May 2010 8:14 AM
To: ProFox Email List
Subject: Re: VFP Rounding

You could always multiply by 100, apply  the integer  function, then divide
by 100.

Richard E. Quilhot C.N.A.
[email protected]




On Tue, May 4, 2010 at 6:00 PM, Tina Currie <[email protected]> wrote:

> Hi all,
>
>
>
> Hoping you can shed some light for me.  I've got a calculation that I'm
> doing over 4 fields and then I convert the result to character by applying
> STR() function - doing this to a length of 20 and decimal places of 2.
>  This
> rounds UP my result.  I don't want this to happen.  Just want it to give
me
> the result to 2 decimal places.
>
>
>
> Is this possible in Fox?
>
>
>
> TIA,
>
>
>
> Tina
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --- StripMime Report -- processed MIME parts ---
> multipart/alternative
>  text/plain (text body -- kept)
>  text/html
> ---
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to