1

Why doublebox specify a number ,rather than e ?

asked 2014-05-02 10:10:18 +0800

sitansu gravatar image sitansu
2254 13
http://java91.blogspot.in...

updated 2014-05-29 06:18:51 +0800

I am facing issue is that when i use doublebox for set numeric value but the doublebox accept character e but my question is that why doublebox accept only character e.

Anyone can tell me:

Why doublebox specify a number ,rather than e ?

zk fiddle

delete flag offensive retag edit

Comments

Hello sitansu, how about putting a mask? for example: <doublebox format="###.##"/> I hope this could help,. Greetings ...

mhj ( 2014-05-22 00:58:29 +0800 )edit

Thanks @Cor3000 This issue giving me our QA team .I also found this answer from java doc

http://docs.oracle.com/javase/7/docs/api/java/text/DecimalFormat.html

sitansu ( 2014-05-29 07:52:24 +0800 )edit

did your Q/A team mention any suggestions or expectations? or were they just curious? I mean is there anything they want to be changed/fixed?

cor3000 ( 2014-05-30 05:04:47 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-05-29 07:10:22 +0800

cor3000 gravatar image cor3000
4406 2 7
ZK Team

updated 2014-05-29 07:14:01 +0800

the character 'e' allows scientific notation as a shortcut for very large or small numbers

e.g.

1.5e-4 -> 0.00015
2.3456e+10 -> 23456000000
1.2e+20 -> 120000000000000000000

if the number is way too large to convert the scientific notation will stay

1.2e+50 -> 1.2e+50

Is there any particular reason for your question?

link publish delete flag offensive edit
Your answer
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
2 followers

RSS

Stats

Asked: 2014-05-02 10:10:18 +0800

Seen: 14 times

Last updated: May 29 '14

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