dynamobi/dynamobi — Issue #779: [FRG-91] SQLLine needs to take decimal formating
Author: dynamobi-build
Created: 2011-12-30 03:48:34+00:00
State: open
Labels: FRG, Test

[reporter="jvs", created="Wed, 22 Mar 2006 12:47:17 -0500 (GMT-05:00)"]
Unfortunately, sqlline doesn't provide any control over this. You can find the source code under thirdparty/sqlline/src, and I have CVS access, so if you want to make an enhancement (say !set decimal_format and taking a format string according to java.text.DecimalFormat), I can submit it.

JVS

Wael Chatila wrote:

> yesterday i checked in some sql tests that print out double values,

> something like 0.999999xyz

>

> I realized that this is not very platform independent and was wondering if

> there is a way to limit the number of decimals outputted or if you have a

> better test approach.

>

> -W

>