OSDN Git Service

From: "D'Arcy J.M. Cain" <darcy@druid.net>
authorMarc G. Fournier <scrappy@hub.org>
Mon, 28 Apr 1997 16:15:13 +0000 (16:15 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Mon, 28 Apr 1997 16:15:13 +0000 (16:15 +0000)
commitd938b755dc3ee541a935de9b4926477befdb7825
tree40bb181025d7ca9e9722967352ea9cf64f52ec18
parent36712e8808c48914d25c0f7fcca603a9750b56a3
From: "D'Arcy J.M. Cain" <darcy@druid.net>
Subject: [HACKERS] Inputting money

I notice that I have to put single quotes around money amounts if there
is a decimal point in the value.  I appears to be happening because there
is something changing things like "123.45" to "123.450000" and the code
has a problem with that.  There may be a better way to fix this but here
is a simple change to cash.c that lets it accept trailing zeroes.
src/backend/utils/adt/cash.c