You can use parameterized output with formation, for example:
<apex:outputText id="Connections" value="{0, number, integer}"> <apex:param value="{!Event__c.Total_Connections__c}" /> </apex:outputText>
For more information on all formatting options, see Java MessageFormat , for <apex:outputText>
uses the same formatting
source share