Finish the RSI calculation and tested the RSI output (floor) so only tens and hundreds position and was very close but not exact as a spreadsheet output, only off by .10 of a point or so for the ones that did not match up.  I would say this is calculating the RSI correctly