You need to sign in to do that
Don't have an account?

Problem with Numbers on Visualforce Page
Hi,
I notice this weird behaviour of SFDC when it displays number on a VisualForce page.
When the value is "15,000,000", the value displayed is "1.5E+7"
But when I modify the last digit of the value to "15,000,001", it displays correctly as "15000001"
Is this a SFDC defect?
Hey
You could try using advanced formatting. There isn't a direct example of what you'd like to achieve on that page, but there are links there to the Javadoc for formatting, which Apex wraps.
Wes
hi
jamz_2010: but "1.5E+7" is meaningless to the business.The same problem occurs for both Currency and Number type, and both type of controller.
weznolte: Other than formatting, we can also use "TEXT" to convert it to a normal string so it will be displayed correctly. What I am trying to achieve is just to display a value of a currency field on a VisualForce page :)