influxdata / influxdata/influxdb
how to format the float value is limit two digits
Open
area/2.x
waiting/investigation
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
__Proposal:__
provide a method to format the float value to any digit
__Current behavior:__
no function to reolve this requirement
__Desired behavior:__
to provide a way to format the float value
__Use case:__
define a check , the status template contains a field value ,it's float data type ,the value looks like many digits
Contributor guide
Research direction
The issue names no files, tests, or entry points. Start by locating the status-template handling and existing float formatting behavior; done should provide a way to format float values to a chosen number of digits and verify it in the relevant tests.
Written by the indexing model from the issue text.
Assessment
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100