Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
chris  
#1 Posted : Friday, May 07, 2004 12:18:00 AM(UTC)
chris

Rank: Member

Groups: Member
Joined: 5/6/2004(UTC)
Posts: 2

Is there any way to display large numbers without scientific notation? For example, large numbers display like "1.3141 E+05" and I would like to get rid of that.

Thanks in advance.
Andrew  
#2 Posted : Friday, May 07, 2004 11:58:00 AM(UTC)
Andrew

Rank: Advanced Member

Groups: Member, Administration
Joined: 8/2/2003(UTC)
Posts: 863

Thanks: 2 times
Was thanked: 25 time(s) in 25 post(s)
To avoid scientific notation, you should modify DecimalFormat property of View. It is specified in the notation used in standard .NET number classes, for example described at this URL:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdoubleclasstostringtopic3.asp

By default it is G5. That means that all 5-digit numbers (below 100000) are displayed as common numbers, larger numbers uses scientific notation. For example, this code:

Code:
FlashChart1.View.DecimalFormat = "G12"


will make all numbers below 1000000000000 displaying in general way.

Please let me know if you have some more problems.

Edited by user Monday, December 24, 2007 5:56:04 PM(UTC)  | Reason: Not specified

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.