Skip to content

Conditionnal decimal formatter ? #84

@popod

Description

@popod

Hello,

How to only apply formatters to some fields ?

In the exemple bellow, the price field should be formatted with a "," separator, but not the average field ?

// data
[{
    title: "title",
    price: 19.45
    average: 2.9849302
}, {
   ...
}]
// wanted csv
"title";"price";"average"
"title";10,45;"2.9849302"
...

Before, i was using the removed option stringify.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions