Skip to content

JavaScript notation? #87

@StefH

Description

@StefH

Describe the solution you'd like
Would it be possible to add a "JavaScript" formatter to write a valid JavaScript notation?

Expression<Func<double, int, double[], FormattableString>> ex = (value, index, values) => $"{(value < 1000 ? value : (value / 1000.0) + " K")}";

should be converted to:

`$(value < 1000 ? value : (value / 1000) + ' K'`

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions