question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support numeral.js patterns for Number formats

See original GitHub issue

When you use a Number format in Kibana, you have the option to specify the numeral.js pattern: image

It’d be great to have that option right here when using Datasweet formulas image

That way I can have the calculated value use the same format as the source data, e.g. $0,0.[00] to display USD

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
tcharlot-datasweetcommented, May 22, 2018

Hi @bradvido !

Thx for this nice suggestion.

0reactions
alberto-guerra-lmescommented, Jul 26, 2019

1+

Read more comments on GitHub >

github_iconTop Results From Across the Web

Numeral.js
A javascript library for formatting and manipulating numbers. ... Numeral takes numbers or strings that it trys to convert into a number.
Read more >
Numeral Formatting | Kibana Guide [8.5] - Elastic
Numeral formatting in Kibana is done through a pattern-based syntax. These patterns express common number formats in a concise way, similar to date ......
Read more >
Beginner's Guide to Numeral.Js. A library for easy number ...
Numeral.js provides built in formatting for numbers, currencies, bytes, percentages, times and exponents. These formats are string arguments ...
Read more >
Formatting large numbers using numeral.js - Stack Overflow
Numeral.js has this built in. It can be easily achieved using a such as .format('0.00a') . Some full examples: numeral(1000000).format('0a') ...
Read more >
Number formatting in JavaScript - SimpleLocalize
Format numbers, currencies, and units without any 3rd party localization library. In simple words, the toLocaleString() method converts a number ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found