SQL function to validate money input - Mailing list pgsql-sql

From Zhao, Scott
Subject SQL function to validate money input
Date
Msg-id 8A45A0F766A7C34894C80BBAEBEBA118E0AC7E@thick.usask.ca
Whole thread Raw
Responses Re: SQL function to validate money input
List pgsql-sql
Hi All,
 
Is there a function available to validate if the input is a correct money format? For exapmle, "23.56" is a correct number but "23.567" is incorrect. I just like to do this in postgres level not in my application code.
 
Thanks
 
Scott
 

pgsql-sql by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Calc
Next
From: Wilson Fletcher
Date:
Subject: convert integer seconds to timestamp