StringManipulation icon indicating copy to clipboard operation
StringManipulation copied to clipboard

Some configurable Number formatting options

Open ufo2mstar opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe.

Would be great if this cool plugin also does Number formatting (like in Excel) like currency, accounting, etc.

Describe the solution you'd like

For example: format any number with some delimiter (, with configurable/localized spacing support):

12345678 => 12,345,678

or for _ as a numeric literal

12345678 => 12_345_678

May also be good to consider some flurishes like localized currency processing etc (like 123 => 123.00, etc), but I'll leave that to the implementation :)

Describe alternatives you've considered

I tried to look at the various options I got with this plugin, in the context menus and such, but didn't find any options with this feature. I looked at NumberConverter another nice plugin, which does not support this yet. Looked at other conversion tools, no one seems to be tackling this problem.

Additional context

This will help quickly parse, format, and process long string of numbers. Please help point me to any other tool or plugin that helps with this currently, that I may not have found yet 👍

ufo2mstar avatar Aug 08 '22 22:08 ufo2mstar

I would suggest reporting it to https://github.com/dethlex/NumberConverter/issues

krasa avatar Oct 13 '22 18:10 krasa

Sure, thanks for the reco. But if StringManipulation can support features like columnar alignments,
this simple and useful number-string formatting feature feels like a valuable addition.

ufo2mstar avatar Oct 15 '22 03:10 ufo2mstar