CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 I become crazy: Number formatting...

Print topic Send  topic

Author Message
Seichobob

Posts: 55
Posted: 12/15/2009, 7:43 AM

hi forum,

i have to format a number out of my database (mysql - double) in a result grid. i have no idea how to get a german formatting...

database - format - result
14524.88 - " " - 14524.88
14524.88 - #,##0.00 - 14,524.88
14524.88 - ?????? - 14.524,88

has anyone an idea how to set the format to get this: 14.524,88 ??? decimals seperated with "," thousands seperated with "." ??? i tried everything but i have no clue...

greetings, mirko
View profile  Send private message
ckroon

Posts: 869
Posted: 12/15/2009, 8:57 AM

Can you pull the data into excel and format using that?
_________________
Walter Kempees...you are dearly missed.
View profile  Send private message
damian

Posts: 838
Posted: 12/15/2009, 3:07 PM

try using regex -
http://www.google.com.au/search?sourceid=navclient&aq=4...cheat+sheet+php
http://www.google.com.au/search?sourceid=navclient&aq=5...q=regex+builder

_________________
if you found this post useful take the time to help someone else.... :)
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.