Skip to content

Commit

Permalink
Merge pull request #279 from nooges/master
Browse files Browse the repository at this point in the history
Fix for Yahoo Finance Options strike prices with commas
  • Loading branch information
sudocode committed Jan 7, 2013
2 parents 7f5baaa + c248a11 commit a9b75b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yahoo/finance/yahoo.finance.options.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
for each ( var tr in results )
{
strikePrice = parseFloat( tr.td[0].a.strong.text() );
strikePrice = parseFloat( tr.td[0].a.strong.text().toString().replace(/\,/g,'') );
optionSymbol = tr.td[1].a.text();
// Check to see what type of option
Expand Down

0 comments on commit a9b75b1

Please sign in to comment.