StockFetcher Forums · General Discussion · How can you remove decimals from a custom formula??<< >>Post Follow-up
Radiomuse
288 posts
msg #86794
Ignore Radiomuse
1/22/2010 11:26:43 AM

For example, I'm trying to create an average dollar volume, in 1000's, and really don't want to see 2 decimal places. So if a stock is trading $502K a day, I want it to display "502", not "502.17"

set{dollarv,average volume(30) * ma(30)}
set{dollarvol,dollarv/1000}
dollarvol > 500
add column dollarvol {dolvol30,1000s}

chetron
2,817 posts
msg #86797
Ignore chetron
1/22/2010 12:04:31 PM

CLICK ME


Radiomuse
288 posts
msg #86799
Ignore Radiomuse
1/22/2010 12:54:35 PM

Thanks Chetron - but I found that thread, and it still doesn't answer my question. None of those examples will crop off the decimal places. I don't want to see 5389.23, I just want to see 5389.

chetron
2,817 posts
msg #86801
Ignore chetron
1/22/2010 2:05:29 PM

SORRY, YOU ARE RIGHT, IT CAN'T BE DONE BECAUSE IT IS A FORMAT ISSUE AND NOT A MATH ISSUE

StockFetcher Forums · General Discussion · How can you remove decimals from a custom formula??<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2022 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.