Invest
Shares Quantity Now Supports Decimal Values!
By StocksCafe  •  August 10, 2018
Firstly, I would like to apologize to users who were affected by this "migration" last night and seeing errors on many StocksCafe pages. I was making a seemingly simple change, but is actually more complicated. I was making a database change for the field "shares quantity" from only accepting whole numbers (i.e. integers) to allow decimal values (i.e. floats). As integers and floats are considered different beasts (at least in Java), StocksCafe's code needed to be significantly changed since "shares quantity" is used in numerous places. It should be fine now, but please report if you see any issues. The main motivation for this change was because it was requested by Friends of StocksCafe, and their reasoning is that with robo-advisor and regular share-buying schemes, partial shares are often being transacted. With the growing popularity of such approaches, it is only reasonable that StocksCafe also starts to support ......
Read the full article
By StocksCafe
StocksCafe was created originally as a personal project to help me make better investment decisions. I decided to share it because it grew to a project that I believe many can benefit from. Feel free to let me know how it can improve to better assist you ...
LEAVE A COMMENT
LEAVE A COMMENT

Your email address will not be published.

*

Your Email Address will not be published
*

Read More Articles
More from thefinance