Ask a Question related to ASP Components, Design and Development.
-
BARBARA FLOYD #1
ASP IN EXCEL, trailing zeros being truncated
Hi,
I have an asp file which opens in Microsoft Excel.
I have used "FormatNumber" function to force variables I
display to be a certain number of decimal places.
However, Excel cuts off any zeros at the end.
eg. the number 5.640 displays as 5.64, even though I used
format number to 3 decimal places.
The number of decimal places I need to use throughout the
page vaires, i.e I cant say "the whole page can be of 3 dp"
How can I code the ASP page to stop Excel truncating the
zeros at the end?
Thanks very much for your help!
Any advice is really appreciated
Barbara
BARBARA FLOYD Guest
-
SQL function to remove trailing zeros from a decimal column
The volume column is of type decimal(31,6). select distinct volume from i_item_master VOLUME --------------------------------- 0.100000... -
Leading Zeros not being read from Excel Query
We are having an odd problem when trying to read in a query from Excel. What we are trying to do: We have a page where users will upload an Excel... -
Disappering leading zeros
Have a problem that has me swinging. I have a MS Access d/b that contains a zip code directory. Updates are done via a web-based ColdFusion form.... -
Insert leading zeros
I have a string of digits that looks like something like these: 0025, 1234, 0001, 1003, and so on. They are all 4 digits in length. Then when I... -
CSV for Excel - Problem with Leading Zeros
Can we consider change the string to: ' 0000563' ? Luke (This posting is provided "AS IS", with no warranties, and confers no rights.) -
Ray at #2
Re: ASP IN EXCEL, trailing zeros being truncated
~Try~ preceding the values with a ' in your response.
Ray at home
"BARBARA FLOYD" <anonymous@discussions.microsoft.com> wrote in message
news:0bfa01c3a83c$158b4a20$a101280a@phx.gbl...> Hi,
>
> I have an asp file which opens in Microsoft Excel.
> I have used "FormatNumber" function to force variables I
> display to be a certain number of decimal places.
> However, Excel cuts off any zeros at the end.
> eg. the number 5.640 displays as 5.64, even though I used
> format number to 3 decimal places.
>
> The number of decimal places I need to use throughout the
> page vaires, i.e I cant say "the whole page can be of 3 dp"
>
> How can I code the ASP page to stop Excel truncating the
> zeros at the end?
>
> Thanks very much for your help!
> Any advice is really appreciated
>
> Barbara
Ray at Guest



Reply With Quote

