From: <no...@so...> - 2001-12-21 15:07:12
|
Bugs item #495866, was opened at 2001-12-21 07:06 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=112867&aid=495866&group_id=12867 >Category: Core Group: None Status: Open Resolution: None Priority: 5 Submitted By: brian zimmer (bzimmer) >Assigned to: brian zimmer (bzimmer) Summary: need dynamic scale for BigDecimal Initial Comment: In the method DataHandler.getPyObject(), a hardcoded scale of 10 is used for .getBigDecimal(). This should be changed to: int scale = set.getMetaData().getScale(col); BigDecimal bd = set.getBigDecimal(col, scale); obj = (bd == null) ? Py.None : Py.newFloat (bd.doubleValue()); ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=112867&aid=495866&group_id=12867 |