Author |
Message |
itsallwater
|
Post subject: Geek Help Posted: Wed Apr 14, 2010 10:59 |
|
|
Excellently Membered |
Joined: 30th Mar, 2008 Posts: 1268 Location: Behind you!
|
Hi Guys,
New topic for all things Geek and in requirement of help.
I'm using XSL to convert XML into a HTML form. All going well until I run into a problem with XSL not being able to support the scientific notation coming from SQL servers directly into the XML.
XML has "0.12121212E-2" or something like that I want to display it as 0.0012121212... perhaps rounded to some degree. Either way I don't want to display "NaN", which currently gets displayed while trying to format the numbers.
Only solution I can find is to change how the SQL server output values from a double to a decimal but I'm not allowed to do that. Ideally every thing needs to be done via the XSL.
Has anyone had to solve this problem before? Any solutions?
|
|
Top |
|
|
Cras
|
Post subject: Re: Geek Help Posted: Wed Apr 14, 2010 11:03 |
|
SupaMod |
|
Commander-in-Cheese |
Joined: 30th Mar, 2008 Posts: 49244
|
First page of Google results for "xsl convert scientific notation" seems to contain a ton of stuff.
_________________
GoddessJasmine wrote: Drunk, pulled Craster's pork, waiting for brdyime story,reading nuts. Xz
|
|
Top |
|
|
itsallwater
|
Post subject: Re: Geek Help Posted: Wed Apr 14, 2010 11:58 |
|
|
Excellently Membered |
Joined: 30th Mar, 2008 Posts: 1268 Location: Behind you!
|
All need XSLT 2.0 or additional files. I give up.
|
|
Top |
|
|
itsallwater
|
Post subject: Re: Geek Help Posted: Wed Apr 14, 2010 12:14 |
|
|
Excellently Membered |
Joined: 30th Mar, 2008 Posts: 1268 Location: Behind you!
|
|
Top |
|
|
Grim...
|
Post subject: Re: Geek Help Posted: Fri Mar 18, 2011 12:21 |
|
SupaMod |
|
Est. 1978 |
Joined: 27th Mar, 2008 Posts: 69720 Location: Your Mum
|
Hello! A nice top command on my server shows that it's running a tonne of apache processes (load of 16.22, cringe fans). Is there any way I can get a more specific idea of what they are - ie. what web address they are looking for?
_________________
Grim... wrote: I wish Craster had left some girls for the rest of us.
|
|
Top |
|
|