forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfd80c10
committed
There are errors in the PGmoney class in the conversion routines over
the handling of negative numbers and commas. The attached path attemptsto fix these.However the getValue method does not yet insert commas into thegenerated string.Also in getValue there is an incorrect assumption that the currencysymbol is '$', it should of course be '£'!. I have no idea on how to goabout fixing this one.Alvin1 parent817a3e6 commitfd80c10
1 file changed
+22
-2
lines changedLines changed: 22 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
51 |
| - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
52 | 67 |
| |
53 | 68 |
| |
54 | 69 |
| |
| |||
80 | 95 |
| |
81 | 96 |
| |
82 | 97 |
| |
83 |
| - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
84 | 104 |
| |
85 | 105 |
|
0 commit comments
Comments
(0)