0

"." in Decimalbox, Doublebox

asked 2010-01-06 09:52:12 +0800

GuzZpaWn gravatar image GuzZpaWn
111 2

hi... i have a problem with decimal separator "." using decimalbox or doublebox

<decimalbox id="decimal" value="8.582"/> shows me on screen --> 8,582
<doublebox id="double" value="8.582"/> shows me on screen --> 8,582

the same when i use format="###.##" shows me on screen --> ###,##

i want to use "." not "," like decimal separator... could anyone tell me what's wrong?
thanx

delete flag offensive retag edit

5 Replies

Sort by ยป oldest newest

answered 2010-01-06 10:40:47 +0800

houcine gravatar image houcine
108 1 1

try this:
<decimalbox format="#,##0.##" value="8.582">

link publish delete flag offensive edit

answered 2010-01-06 11:21:10 +0800

GuzZpaWn gravatar image GuzZpaWn
111 2

ok ..it works .. but i want a bigger number

<decimalbox id="decimal" format="#,##0.##" value="85523.36"/> shows me on screen --> 85.523,36

i want it shows me whatever number with 2 decimals separated by "." 85523.36

link publish delete flag offensive edit

answered 2010-01-06 14:58:53 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

updated 2010-01-06 14:59:52 +0800

with a little bit of fantasy, try this:

<decimalbox format="0.##" value="1234568.58" />

best
Stephan

link publish delete flag offensive edit

answered 2010-01-06 16:03:27 +0800

GuzZpaWn gravatar image GuzZpaWn
111 2

thank you terrytornado

but it shows the same look

link publish delete flag offensive edit

answered 2010-01-06 16:31:06 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

Argh, i have misunderstood. Please read this thread.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2010-01-06 09:52:12 +0800

Seen: 709 times

Last updated: Jan 06 '10

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More