472,118 Members | 1,216 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,118 software developers and data experts.

Possible to change format of decimal fields?

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,

Jul 6 '06 #1
0 2704

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 leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.