function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Enrico Maria BalattiEnrico Maria Balatti 

Visualization of big number/currency as Short

I would like if there is a Standard way into a visualforce page to show a big number/currency in a shorter form.

I mean for example to show 1000 as 1K or 1000000 as 1M.

 

 

 

If not, what is the best way to achieve that?

   - <apex:outputText  value="{0,number,......}   ">  ????

  - using an <apex:component

  - using a formula field (but i need to create a formaul fied for any currency/numnber field I have???

  - using a method in an apex class???

 

Thanks,
Enrico