src/org/tiefaces/components/websheet/utility/CellStyleUtility.java
static void setInputStyleBaseOnInputType(final FacesCell fcell,
			final Cell poiCell) {

		if ((fcell == null) || fcell.getInputType().isEmpty()) {
			return;
		}

		switch (fcell.getInputType()) {
		case TieConstants.CELL_INPUT_TYPE_PERCENTAGE:
			fcell.setSymbol("%");
			fcell.setSymbolPosition("p");
			fcell.setDecimalPlaces(
					CellStyleUtility.getDecimalPlacesFromFormat(poiCell));
			break;

		case TieConstants.CELL_INPUT_TYPE_INTEGER:
			fcell.setDecimalPlaces((short) 0);
			break;

		case TieConstants.CELL_INPUT_TYPE_DOUBLE:
			fcell.setDecimalPlaces(
					CellStyleUtility.getDecimalPlacesFromFormat(poiCell));
			fcell.setSymbol(CellStyleUtility.getSymbolFromFormat(poiCell));
			fcell.setSymbolPosition(
					CellStyleUtility.getSymbolPositionFromFormat(poiCell));
			break;
		default:
			break;
		}

	}
static void setInputStyleBaseOnInputType(final FacesCell fcell,
			final Cell poiCell) {

		if ((fcell == null) || fcell.getInputType().isEmpty()) {
			return;
		}

		switch (fcell.getInputType()) {
		case TieConstants.CELL_INPUT_TYPE_PERCENTAGE:
			fcell.setSymbol("%");
			fcell.setSymbolPosition("p");
			fcell.setDecimalPlaces(
					CellStyleUtility.getDecimalPlacesFromFormat(poiCell));
			break;

		case TieConstants.CELL_INPUT_TYPE_INTEGER:
			fcell.setDecimalPlaces((short) 0);
			break;

		case TieConstants.CELL_INPUT_TYPE_DOUBLE:
			fcell.setDecimalPlaces(
					CellStyleUtility.getDecimalPlacesFromFormat(poiCell));
			fcell.setSymbol(CellStyleUtility.getSymbolFromFormat(poiCell));
			fcell.setSymbolPosition(
					CellStyleUtility.getSymbolPositionFromFormat(poiCell));
			break;
		default:
			break;
		}

	}
set up Input Style parameter for input number component which need those
parameters to make it work. e.g. symbol, symbol position, decimal places.

@param fcell
faces cell
@param poiCell
poi cell