code: @Override
      public Object map(Object input) {
          if (input instanceof Number) {
              Number number = (Number) input;
              return doOp(number.doubleValue());
          }
          throw new IllegalArgumentException("Input must be a number");
      }
docs: Transform an object
  in to another object
  
  @param input the record to transform
  @return the transformed writable