0

Decimalbox with percent format

asked 2010-04-13 10:21:54 +0800

axenta gravatar image axenta
30 1

He there

I'm using ZK 5 and I have a problem while formating the Decimalbox with a percent pattern. This pattern is "##0.#####%". When I enter and leave the box repeatedly without changing the value, the value is always devided through hundred until it get 0%.

Has anyone experience with that?

Many thanks for your answers.

delete flag offensive retag edit

6 Replies

Sort by ยป oldest newest

answered 2010-04-20 02:16:22 +0800

Cogito gravatar image Cogito
66 1
ZK Team

Hi axenta,
Could you show us the source please?

link publish delete flag offensive edit

answered 2010-04-20 02:51:55 +0800

axenta gravatar image axenta
30 1

Hi Cogito

You can reproduce this behaviour with zk standard code like this: <decimalbox format="##0.#####%" />
Just enter and leave the box a few times.

thanks

link publish delete flag offensive edit

answered 2010-04-20 04:30:08 +0800

Cogito gravatar image Cogito
66 1
ZK Team

Hi axenta,
This should be a bug, I filed it on sourceforge: https://sourceforge.net/tracker/?func=detail&aid=2989808&group_id=152762&atid=785191

link publish delete flag offensive edit

answered 2010-04-20 10:02:06 +0800

axenta gravatar image axenta
30 1

Hi Cogito

Many thanks for your help. Let's see when it will be fixed.

link publish delete flag offensive edit

answered 2013-07-05 10:44:38 +0800

zucci gravatar image zucci
1

Now the value shif two zero on the right so if I insert 3 the component show me 300. How do i disable this behavior?

link publish delete flag offensive edit

answered 2019-07-24 22:26:41 +0800

ralexsander gravatar image ralexsander
1

I have the same issue as zucci, when I type 3% it works fine, when I type just 3 it shows 300%.

Anyone knows how to change this?

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-04-13 10:21:54 +0800

Seen: 1,250 times

Last updated: Jul 24

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