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

Re: [amibroker] StrMid(NumToStr(1040928),4,3);



PureBytes Links

Trading Reference Links

 
----- Original Message -----
Sent: Friday, December 17, 2004 12:12 PM
Subject: [amibroker] StrMid(NumToStr(1040928),4,3);


Sorry to post all questions, but
mm returns 0.9
and test returns 928
is it a bug???

mm= StrMid(NumToStr(1040928),4,3);
test= StrMid("1040928",4,3);
 
wm - Looks OK.  NumToStr default format is 1.3 and True for separator.  So NumToStr(1040928) results in 1,040,928.000.  mm then is 0,9 for a StrMid start of 4 (zero based) and count of 3.





Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html




No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.5.4 - Release Date: 12/15/2004


Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links