Hi all,
How can I do the value formatting along with converting to millions in Ag grid?
Example-
If value is 47374049
I want - $47.37M
If value is -567356608
I want - $(567.35)M
How can I achieve this?
Hi all,
How can I do the value formatting along with converting to millions in Ag grid?
Example-
If value is 47374049
I want - $47.37M
If value is -567356608
I want - $(567.35)M
How can I achieve this?
Hello @Gangz,
Check out the d3 formatting section in the documentation.
In the documentation, they don’t mention about this division by one million, how do I achieve that?
Check out here:
It looks like you should be doing something with s
Thanks! I achieved it using formatPrefix