fix: Apply CultureInfo.InvariantCulture not to be affected by system locale setting#386
Conversation
CultureInfo.InvariantCulture not to be affected by locale settingCultureInfo.InvariantCulture not to be affected by locale setting
CultureInfo.InvariantCulture not to be affected by locale settingCultureInfo.InvariantCulture not to be affected by system locale setting
4772f5c to
ea0c04e
Compare
e09c05e to
fd86716
Compare
bfff522 to
bf7bd64
Compare
DaveSkender
left a comment
There was a problem hiding this comment.
LGTM, but check the Codacy findings to fix, or ignore any false-positives.
@DaveSkender Yeap. All of those can be ignored |
|
@DaveSkender Just a trivial thing. Which version should be increased? minor or patch? |
If there’s no change to the actual API and is not a breaking change, patch is all you’d need. If you consider this a new feature, minor. Just a patch IMO, even if a big relief to users. |
|
I don't have any open concerns with this, LGTM. Please proceed with it. |
|
@DaveSkender An idea came up with!
stock-indicators-python/tests/common/test_cstype_conversion.py Lines 36 to 42 in c9a40d8 |
|
@DaveSkender I had a quick test. And this way has max 3x performance gain! if cs_decimal is not None:
return CsDecimal.ToDouble(cs_decimal)But few tests fails due to precision problem |
Description
Fixes:
decimal.InvalidOperationwith small numbers #385Checklist