1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Add in D'Arcy's cash code

pg_proc.h still needs modifying, but this gets it in there so that we can
get around any compiler bugs.  Will try and get the pg_proc.h entries done
up later tonight...
This commit is contained in:
Marc G. Fournier
1997-04-09 08:36:21 +00:00
parent 1c688d1bbe
commit 4999f002e6
3 changed files with 327 additions and 2 deletions

16
src/include/utils/cash.h Normal file
View File

@@ -0,0 +1,16 @@
/*
cash.h
Written by D'Arcy J.M. Cain
functions to allow input and output of money normally but store
and handle it as long integers
*/
#ifndef _CASH_H
#define _CASH_H
const char *cash_out(long value);
long cash_in(const char *str);
const char *cash_words_out(long value);
#endif /* _CASH_H */