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

Re: [amibroker] only the value of the last 2 digits possible ?



PureBytes Links

Trading Reference Links

TB, you could use NumToStr() and StrRight() and StrToNum() in sequence to convert the number to a string, grab the last two digits, and then convert them back to a number.  A bit messy, but it works.  Bill
----- Original Message -----
From: TB
Sent: Saturday, June 18, 2005 5:57 PM
Subject: [amibroker] only the value of the last 2 digits possible ?

Hello,

 

I want to test a strategy based on sweetpoints (round numbers) for forex.

So I want to reduce the value like 1.2337 to 37, only the last 2 digits.

 

Is there any way to do this ?

I have found no function but maybe I have not seen it.

 

Regards

 

Thomas

www.tradingbasis.com

 



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




No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.7.8/22 - Release Date: 6/17/05


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