[ic] [interchange] Add numeric ordercheck

Mike Heins mike at perusion.com
Thu Mar 25 17:54:15 UTC 2010


Quoting Jon Jensen (jon at endpoint.com):
> On Thu, 25 Mar 2010, Mike Heins wrote:
> 
> >>Maybe we should rename the current numeric order check to reflect it's 
> >>purpose. Or an other idea would be to have a kind of a 'price/amount 
> >>picture' order check, where the format given should be matched.
> >
> >How about using "currency" as the name? That would make me happy.
> 
> I think I'd expect to tolerate a leading $ or other currency symbol in 
> that case, or even tolerate alternate decimal separators like , so that it 
> matches what the currency filter would give me.
> 
> How about numeric_strict or something like that?

That would be OK with me, it would prevent someone equating numeric
with what Perl, MySQL, and Postgres accept.

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.328.4479  <mike at perusion.com>

An empty head is not really empty; it is stuffed with rubbish. Hence
the difficulty of forcing anything into an empty head. -- Eric Hoffer



More information about the interchange-users mailing list