From: Andrei.Mihu@MandG.co.UK [mailto:Andrei.Mihu@MandG.co.UK]
Sent: 20 August 2009 14:13
Subject: [saxon] Saxon 9.1 and scientific notation
I have an application that uses Saxon 6.5.3 and XSLT 1.0 (mostly).
This is currently being upgraded to Saxon 9.1 (with Saxon 9.2 a possibility) and I've run into some issues.
Some of the numbers being processed are coming out in scientific notation and it's giving me no end of trouble. From what I've read this is expected behaviour when numbers are outside a certain range (outside 10^6 to 10^-6 or so i believe) and I am aware of the format-number function.
My question is if there is any way around using format-number() as the application uses a significant number of stylesheets which would need changing and the format required is not consistent across numeric fields. Possibly a way to disable this behaviour from within Saxon or another solution?
Any help or suggestions would be most welcome!
The information contained in this message may be CONFIDENTIAL and is intended for the addressee only. Any unauthorised use, dissemination of the information, or copying of this message is prohibited. If you are not the addressee, please notify the sender immediately by return e-mail and delete this message. Although this e-mail and any attachments are believed to be free of any virus, or other defect which might affect any computer or system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by M & G for any loss or damage from receipt or use thereof. Please note that all e-mail messages are subject to interception for lawful business purposes.
M & G Limited is incorporated and registered in England and Wales under registered number 1048359. Registered office: Laurence Pountney Hill, London, EC4R 0HH. M & G Limited is a wholly owned subsidiary of Prudential plc.