code: public int setValue(double dValue, boolean bDisplayOption, int iMoveMode)
      {
          Class<?> classData = this.getDataClass();
          if (classData != Object.class)
          {
              Object objData = null;
              if (classData == Short.class)
                  objData = new Short((short)dValue);
              else if (classData == Integer.class)
                  objData = new Integer((int)dValue);
              else if (classData == Float.class)
                  objData = new Float((float)dValue);
              else if (classData == Double.class)
                  objData = new Double(dValue);
              else if (classData == java.util.Date.class)
                  objData = new Date((long)dValue);
              else if (classData == Boolean.class)
                  objData = new Boolean(dValue == 0 ? false : true);
              else if (classData == String.class)
                  objData = new Double(dValue).toString();
              return this.setData(objData, bDisplayOption, iMoveMode);
          }
          return super.setValue(dValue, bDisplayOption, iMoveMode);
      }
docs: For numeric fields, set the current value.
  Override this method to convert the value to the actual Physical Data Type.
  @param bState the state to set the data to.
  @param bDisplayOption Display the data on the screen if true.
  @param iMoveMode INIT, SCREEN, or READ move mode.
  @return The error code.