|
From: <mrp...@us...> - 2010-08-04 15:18:32
|
Revision: 3405
http://bigdata.svn.sourceforge.net/bigdata/?rev=3405&view=rev
Author: mrpersonick
Date: 2010-08-04 15:18:26 +0000 (Wed, 04 Aug 2010)
Log Message:
-----------
using BigDecimal.toPlainString instead of toString (which uses exponent notation)
Modified Paths:
--------------
trunk/bigdata-rdf/src/java/com/bigdata/rdf/internal/XSDDecimalIV.java
Modified: trunk/bigdata-rdf/src/java/com/bigdata/rdf/internal/XSDDecimalIV.java
===================================================================
--- trunk/bigdata-rdf/src/java/com/bigdata/rdf/internal/XSDDecimalIV.java 2010-08-04 12:26:44 UTC (rev 3404)
+++ trunk/bigdata-rdf/src/java/com/bigdata/rdf/internal/XSDDecimalIV.java 2010-08-04 15:18:26 UTC (rev 3405)
@@ -64,7 +64,7 @@
public V asValue(final BigdataValueFactory f,
final ILexiconConfiguration config) {
// @todo factory should cache the XSD URIs.
- final V v = (V) f.createLiteral(value.toString(),//
+ final V v = (V) f.createLiteral(value.toPlainString(),//
f.createURI(DTE.XSDDecimal.getDatatype()));
v.setIV(this);
return v;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|