rea725 opened a new issue, #36189:
URL: https://github.com/apache/superset/issues/36189

   ### Bug description
   
   Percentage formatting for very small numbers is not applied.  The result of 
attempts to format very small numbers as percentages is that no format is 
applied and the raw number is returned.
   
   It seems what triggers this is a case in which some of the numbers are very 
small, but non-zero.  If so, all formatting breaks for the column and even 
larger numbers are not formatted correctly.
   
   
   E.g.
   `-0.00001229` with D3 format `.8%` and Small number format `.8%` will just 
return the raw value. `-0.00001229`.
   
   <img width="532" height="503" alt="Image" 
src="https://github.com/user-attachments/assets/4c83bf30-f9e0-4eb5-89a3-78dc7cb00724";
 />
   
   
   It doesn't matter what percentage format is applied.  It fails if the 
attempted format is `.4%` or `.2%` as well.
   
   Here's a link to the Slack conversation I had about this with the AI bots:
   https://apache-superset.slack.com/archives/C072KSLBTC1/p1763566767804459
   
   There is mention of similar issues with number/currency formatting but 
nothing relating to percentage formatting specifically.
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [ ] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [ ] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [ ] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to