Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mikezang

macrumors 6502a
Original poster
May 22, 2010
939
41
Tokyo, Japan
I have a binary file stored stock data and now I try to convert them into SQLite3, the problem is the price in file is original value before stock split. The split information in array with struct as below:
Code:
struct {
    NSString date;
    float rate;
}

In most case, I only need price after split not original, I have two way to get split price.

1. calculate the split price in converting

2. calculate the split price after select price(convert original price to SQLite3)

Do you think which way is better?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.