Update iPercent.cpp

removed an bug