I need to convert double value to exponential value by using xslt, and i think this we can do by using format-number function but i don’t ‘ve any idea how to convert by using this so any one help me out.
Thanks,
@nag
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There’s no support for output in scientific notation in XSLT 1.0, and only very limited support in XSLT 2.0. (In XSLT 2.0, conversion from double to string uses scientific notation for absolute values outside the range 1e-6 to 1e+6, and there is no way of controlling this, although you can avoid it completely by converting via decimal.)