[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] rounding



PureBytes Links

Trading Reference Links

X = Round(X * 100) / 100;

Where X = your number
--
Terry

-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
Behalf Of cdepuy
Sent: Thursday, June 22, 2006 12:06
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] rounding

what is the easiest way to round a value that i calculate from many
decimal places to only 2?  i believe the round function in AFL brings
it to an integer, as does the integer function.

thanks






Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links