471,578 Members | 1,306 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,578 software developers and data experts.

Double.ToString("C") cause web page display problem: "$" sign does not shown properly.

I posted this issue a while ago. After moveing the ASP.NET 1.1 app to a
brand new server, the same problem still there.

System: Winows2003 server std. .NET 1.1
App: Invoicing system

Problem:

Since the app is dealing with money amount a lot, in many place I used
Double.ToString("C") to show a number as money amount on the web page. There
is no problem on my developing/testing computer. It is alos OK on the
production server, if there is no much work load to this app. However, if
work load increases, the "$" then becomes a non-printable dot or a small
square. It happens on all clients' browser. So, I am pretty sure it does not
happen at client end. Restart the server cures it, but stop and restart IIS
service does not help. Also, if the work load of this app slows down long
enough, say in the night when no one is in office to use the app, the
problem goes away without the need to re-start the server.

To prove it to myself, I change quite a few Double.ToString("C") to "$" +
Double.ToString("F"), then these changed "$" sign printed on screen OK. I
also tried to change the font I have used (all are very generic fonts Arial,
Miscrosoft Sans Serif...). No help.

So far, I can only say it is something on the server for sure.

Does anyone have this kind of experience or have some ideas on this?
Jan 26 '06 #1
0 1547

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Ayende Rahien | last post: by
1 post views Thread by Steve Norman | last post: by
12 posts views Thread by Zero | last post: by
4 posts views Thread by Greg Collins [Microsoft MVP] | last post: by
2 posts views Thread by maminx | last post: by
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by lumer26 | last post: by
reply views Thread by Vinnie | last post: by
1 post views Thread by lumer26 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.