help required to change format when converted from excel to xml.

tdnithin

New Member
Joined
Sep 23, 2008
Messages
1
Hi Guys,
I am Using Microsoft office Excel 2003.
I am saving an excel file as xmlspreadsheet.
When I do this the values in column L of the excel spreadsheet is displayed in the xml spreadsheet in exponential form.
eg: 2.8525% in excel sheet is displayed in xml as​

2.8524999999999998E-2

Could anyone please assist me in rectifying this: I need the value in the xml to be displaying in %age form.
e.g: 2.8524999999999998E-2 in xml should actually be displayed as 2.8525%.
style defined for this particular value in the xml as below.​
<Style ss:ID="s109" ss
emotion-4.gif
arent
="s24">
<
Alignment ss:Horizontal="Right" ss:Vertical="Bottom"/>
<
Borders/>
<
Font x:Family="Swiss" ss
emotion-7.gif
ize
="7"/>
<
Interior ss:Color="#FFFFFF" ss
emotion-4.gif
attern
="Solid"/>
<
NumberFormat ss:Format="0.0000000000%"/>
</
Style>

Please help me to resolve this issue.
Looking forward for a quick response.

rgds
NithinJ
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Forum statistics

Threads
1,214,985
Messages
6,122,603
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top