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

[EquisMetaStock Group] Re: How to rounddown a number?



PureBytes Links

Trading Reference Links

You could also use INTEGER, which drops the fractional part of a number.
Or use Modulus which reports back the fractional part of a division


--- In equismetastock@xxxxxxxxxxxxxxx, superfragalist <no_reply@xxx>
wrote:
>
> Let's skip complex programming functions and mathematics. Go straight
> for arithmetic. 
> 
> dataarray:=c-0.5;
> round(dataarray) 
> 
> if you want to round down every time regardless of the decimal. 
> 
> Super
> 
> 
> --- In equismetastock@xxxxxxxxxxxxxxx, chichungchoi <no_reply@> wrote:
> >
> > Does anyone have any suggestions on how to rounddown a number in 
> > Metastock? There is a ROUND function in Metastock, but it does not
have 
> > ROUNDUP and ROUNDDOWN functions. 
> > If the number is 7.6, then I would like to rounddown into 7.
> > Does anyone have any suggestions on how to do it in Metastock?
> > Thanks in advance for any suggestions
> > Eric
> >
>



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/equismetastock/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:equismetastock-digest@xxxxxxxxxxxxxxx 
    mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/