FarPoint.Win.Spread.CellType.PercentCellType p = new FarPoint.Win.Spread.CellType.PercentCellType();
bool b;
fpSpread1.ActiveSheet.Cells[0, 0].CellType = p;
fpSpread1.ActiveSheet.Cells[0, 0].Value = 0.05;
b = p.IsValid(fpSpread1.ActiveSheet.Cells[0, 0].Value);
MessageBox.Show(b.ToString());
FarPoint.Win.Spread.CellType.PercentCellType p = new FarPoint.Win.Spread.CellType.PercentCellType();
bool b;
fpSpread1.ActiveSheet.Cells[0, 0].CellType = p;
fpSpread1.ActiveSheet.Cells[0, 0].Value = 0.05;
b = p.IsValid(fpSpread1.ActiveSheet.Cells[0, 0].Value);
MessageBox.Show(b.ToString());