• Resolved brunocerq

    (@brunocerq)


    I have a column that has float values, some are very large and only need 2 decimal places and others are very small and need 6 decimal places.
    How can I make that column to properly format the numbers, so that the correct number of decimal places are displayed, based on the actual value?

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author wpDataTables

    (@wpdatatables)

    Hi there,

    Unfortunately there is no built in option so you can show some float values with 2 decimals and some values with 6 decimals in same column. What you can do is to use string column type and then insert what ever you need for each cell or if you can use our filters that can filter each cell, or cells by column. You can find it on our official website.

Viewing 1 replies (of 1 total)
  • The topic ‘How to format decimal places based on values’ is closed to new replies.