No decimal place
See original GitHub issueI found just one way how to force component to use Integer not Decimal and it is to set decimalSeparator=""
. I think it’ll be more intuitive to use something like decimalPrecision={0}
, but in that case I had 0.undefined
written in field. Is it possible to fix it, or explain some better way how to do it?
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
What does “round to zero decimal places” mean? - Quora
Zero decimal places means you don't want to see anything after the decimal point. So you're rounding to the nearest whole number.
Read more >The most common form of scientific notation inserts a decimal ...
The number 403,000 has no decimal places. The three significant digits are 4, 0, 3. In scientific notation, it would be written 4.03...
Read more >Round a number to the decimal places I want - Microsoft Support
Round a number to the decimal places you want by using formatting and how to use the ROUND function in a formula to...
Read more >Decimal place value review (article) - Khan Academy
Decimal place value ... The first digit after the decimal represents the tenths place. The next digit after the decimal represents the hundredths...
Read more >Place Values After the Decimal Point
Rounding and Decimals: Place Values After the Decimal Point. Just like each digit in a whole number, each digit behind the decimal point...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Solution is now decimalScale=0 for those stumbling into this problem.
set decimalSeparator = {false}