Search
Hall of Fame
About Us
All Questions
New Question
Login
Xml/Xslt - How to insert a number at exponent place
Asked By
Bookworm
on 25-Jan-12 10:21 AM
Hi,
if you can help me because it is very urgent to me
i need to write ins xslt the number for example 34 and the exponent '5'
how can i do this?
thnx
kalpana aparnathi
replied to
Bookworm
on 25-Jan-12 12:33 PM
use this funtion for your solution:
Syntax :
formatNumber
(dblNumber, bstrFormat
)
E-
(also 'e-'). Displays the number in scientific format (exponential notation). If a format contains a zero or number sign (#) to the right of an exponent code, it displays the number is scientific format, and inserts an 'E' or 'e'. The number of zeroes or number signs to the right determines the number of digits in the exponent. Place a minus sign by negative exponents.
E+
(also 'e+'). Places a minus sign by negative exponents, and a plus sign by positive exponents.
http://www.devguru.com/technologies/xmldom/quickref/xtlRuntime_formatNumber.html
INSTANTLY dtSearch TERABYTES OF POPULAR DATA TYPES; hundreds of reviews, etc.!