469,582 Members | 2,386 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,582 developers. It's quick & easy.

Possible to change format of decimal fields?

1
Is it possible to change the format of a decimal field on mysql level?

We would like to use an open source solution though all the currency fields have to change. Values like: 1,2567.34 should be in european format: 1.2567,34. To change the source we have to change all the properties of the num_format($value,2) into num_format($value,2,'.',',') or ofcource better num_format($value,$Dec,$DecSep,$ThousSep).

Besides this changes a lot ot POST commands should be transformed as well, so, a lot of work could be solved when we can manage this on the mysql table.

How could we realize this? I see a field Transformation in the properties of a field. Could we do this there?

Anyway any help appreciated,

Perry
Jul 6 '06 #1
0 2648

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by Willem-Jan Selen | last post: by
1 post views Thread by Julius Fenata | last post: by
9 posts views Thread by David Rysdam | last post: by
6 posts views Thread by coriolis_wong | last post: by
5 posts views Thread by max | last post: by
11 posts views Thread by RipperT | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.