Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

cash.c

  • Marc G. Fournier's avatar
    d938b755
    From: "D'Arcy J.M. Cain" <darcy@druid.net> · d938b755
    Marc G. Fournier authored
    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.
    d938b755
    History
    From: "D'Arcy J.M. Cain" <darcy@druid.net>
    Marc G. Fournier authored
    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.