Update ipercent.cpp

see changes....