bug #4355 Precision specifier for DOUBLE type is truncated

Signed-off-by: Marc Delisle <marc@infomarc.info>