From 7e61560f9a2c57fed4410e789bf144c54527f228 Mon Sep 17 00:00:00 2001 From: James Ahlborn Date: Thu, 21 Sep 2006 01:59:55 +0000 Subject: [PATCH] change numeric negate flag git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@115 f203690c-595d-4dc9-a70b-905162fa7fd2 --- src/java/com/healthmarketscience/jackcess/Column.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/com/healthmarketscience/jackcess/Column.java b/src/java/com/healthmarketscience/jackcess/Column.java index 02ea286..3fb63db 100644 --- a/src/java/com/healthmarketscience/jackcess/Column.java +++ b/src/java/com/healthmarketscience/jackcess/Column.java @@ -521,7 +521,7 @@ public class Column implements Comparable { } // write sign byte - buffer.put(negative ? (byte)1 : (byte)0); + buffer.put(negative ? (byte)0x80 : (byte)0); // adjust scale according to this column type (will cause the an // ArithmeticException if number has too many decimal places) -- 2.39.5