The formatting tag has no wiki summary.
0
votes
1answer
22 views
Datetime - problem with hour formatting
Datetime t = Datetime.now();
System.debug(t);
System.debug(t.format('HH hh kk KK'));
Result:
13:37:57:233 USER_DEBUG [16]|DEBUG|2013-05-17 11:37:58
13:37:57:234 USER_DEBUG ...
4
votes
1answer
139 views
Number format string being displayed on Visualforce page
Our application Ring My Bell displays a message using a public double property in the controller which is displayed in a message using <apex:outputText>:
<apex:outputText value="{!person} ...
3
votes
2answers
128 views
Radio button required=“true” not displaying an error message when no selection
I've created a Visualforce page to receive input form a user. I've converted a Picklist into a radio button and set it to required.
For whatever reason, the red bar that represents a mandatory field ...
4
votes
1answer
120 views
Removing dot (thousands separator) in a numeric apex:inputField
I have one field "MyYear__c" on my custmon object. This field has following details:
Data Type: Number
Length: 4
Decimal Places: 0
At the visualforce page it looks like this:
<apex:inputField ...
4
votes
2answers
92 views
Visualforce to Excel: Prevent long number from being displayed in Scientific Notation
I have a Visual page which offers the capability of exporting a data table to Excel.
There is a text field called Account number. Some account numbers are more than 12 digits long. When such numbers ...
2
votes
1answer
160 views
decimal places and text() formula
When I use the text formula, salesforce doesn't respect my decimal place formatting. For example,
Field A has 4 places to the right of the decimal. It shows up nicely on the page as
0.4000
If I'm ...
1
vote
1answer
183 views
Adding percent sign (%) to formula field in quote line items
If I add the Standard field Discount to quote line items than the discount will show up right justified with the percent sign to the right of the value. If I create a Custom field of type ...
