VFP Rounding

Author: Tina Currie

Posted: 2010-05-04 at 18:00:16

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

---

_______________________________________________

Post Messages to: ProFox@leafe.com

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/003501caebd5$2e292410$8a7b6c30$@com.au

** 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.

©2010 Tina Currie