Pages

22 November 2012

Format Decimal field on Visual force page

A small snippet below shows how we could format a decimal field retrieved from an object via SOQL query.

{!VALUE(TEXT(ROUND(cols.decimal_field__c,0)))} - Formats the data with 0 decimal places.


No comments:

Post a Comment