Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Decimal d = 5.457333333; d=d.setscale(2); System.debug('TEST:'+d);
<apex:outputText value=”{0, number,###,###,##0.00}”> <apex:param value=”{!mynumber}” /> </apex:outputText>
Try the below code on developer console.
For Visualforce Page
Thanks and Cheers,
Jigar