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.

how to avoid rounding?

See original GitHub issue
var string = numeral(2.567).format('0,0.00');
// '2.57'

I don’t want a rounding,I need to throw away the last digit,so the result should be 2.56. so,how should I config it?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:5

github_iconTop GitHub Comments

8reactions
zzzgitcommented, Jul 11, 2017

could you add an option to config the rounding behavior?

1reaction
registeredscommented, Dec 4, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

Stop showing rounded numbers - Microsoft Support
To stop rounding the number in the cell, click the Increase Decimal button Button image on the Home tab until you reach the...
Read more >
How to Stop Excel From Rounding? 4 Easy Ways - Simon Sez IT
You can also prevent rounding the numbers in Excel by changing the decimal places. Consider a number having an 18-digit value. If you...
Read more >
How to avoid rounding errors while calculating in Excel?
Avoid rounding errors by setting decimal place · 1. Select the cells which contain formulas, and then right-click to select Format Cells from...
Read more >
How to Prevent Rounding in Excel & Google Sheets
The fastest way to avoid rounding numbers with General formatting is to manually change the width of the column. To do that just...
Read more >
How to Get Excel to Stop Rounding Your Numbers | Excelchat
Stop Excel From Rounding Large Numbers ; 346003617942512000, ; Ctrl + 1 to launch the ; Format Cells dialog box. Select the format...
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