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

Formatting a inputField
Hello everyone,
I was formatting some outputText informaton the other day, but now I have the opposite. Formatting input. My code is like so
<apex:column style="width: 60px;">
<apex:inputText value="{!item.QuoteLine.Standard_Unit_Cost__c}" style="width: 60px;"/>
<apex:facet name="header">PE/Standard Unit Cost</apex:facet>
<apex:facet name="footer">
<apex:outputText value="${0, number,###,##0.00}">
<apex:param value="{!hardware.totalPE}"/>
</apex:outputtext>
</apex:facet>
</apex:column>
Basically, it comes out as something like '20.0' and in this case I'd like for it to come out as '20.00'
Any recommendations?
I've used this successfully in the past:
It's not for the outputText, it's for the inputText value.