From: SourceForge.net <no...@so...> - 2003-07-31 12:43:12
|
Bugs item #495866, was opened at 2001-12-21 15:06 Message generated for change (Settings changed) made by pedronis You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=495866&group_id=12867 Category: Core >Group: Fixed in next release Status: Closed Resolution: Fixed 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: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=495866&group_id=12867 |