Skip to content

Conversation

@rabrowne85
Copy link
Contributor

What:

  • Bug Fix
  • New Feature

Description:

When using the newly added unit() function, the order of the style vs precision matters. Originally the precision was being set, and then the style. Under most conditions this doesn't lead to a problem.

However, if the style is incorrect for unit() then the setStyle() overrides the precision setting. As such the style needs to be set first, then the precision.

This PR fixes the order for unit() and decimal().

Related:

NA

@rabrowne85 rabrowne85 merged commit 0211c74 into master Feb 19, 2025
6 checks passed
@rabrowne85 rabrowne85 deleted the fix/order-of-set-style-and-precision-matters branch February 19, 2025 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants