[Logic] "CW" vs "CWN" solved

Rich Bay [email protected]
Mon, 19 Jan 2004 06:23:00 -0600


You were correct on the ROUND Function.

The following is from the VFP 8 Help- File

_____
SET DECIMALS TO 4
SET FIXED ON     && Fix decimal display
CLEAR

? ROUND(1234.1962, 3) && Displays 1234.1960
? ROUND(1234.1962, 2) && Displays 1234.2000
? ROUND(1234.1962, 0) && Displays 1234.0000
? ROUND(1234.1962, -1)  && Displays 1230.0000
? ROUND(1234.1962, -2)  && Displays 1200.0000
? ROUND(1234.1962, -3)  && Displays 1000.0000

SET FIXED OFF  && Restore start up defaults
SET DECIMALS TO 2
___

Thanks,
Rich
---------- Original Message ----------------------------------
From: "Mel" <[email protected]>
Reply-To: [email protected]
Date:  Sun, 18 Jan 2004 21:17:45 -0500


>
>There should be a Round function in Foxpro... It's probably something
>like : ROUND(Variable,precision)
>
>Perhaps someone with a Foxpro manual can enlighten us.
>