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.
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration Joined: 8/2/2003(UTC) Posts: 876
Thanks: 2 times Was thanked: 27 time(s) in 27 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.aspBy 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
|
|
|
|
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.