code: public static String encodeAsRealNumber(Object ob) {
  		if(AmazonSimpleDBUtil.isNaN(ob) || AmazonSimpleDBUtil.isInfinite(ob)) {
  			throw new MappingException("Could not serialize NaN or Infinity values");
  		}
  
  		BigDecimal realBigDecimal = AmazonSimpleDBUtil.tryToStoreAsRealBigDecimal(ob);
  		if(realBigDecimal != null) {
  			return AmazonSimpleDBUtil.encodeRealNumberRange(realBigDecimal, AmazonSimpleDBUtil.LONG_DIGITS,
  					AmazonSimpleDBUtil.LONG_DIGITS, OFFSET_VALUE);
  		}
  
  		return null;
  	}
docs: Unsed to encode a Not Integer {@link Number}.