Skip to content

Commit

Permalink
Formatting improved
Browse files Browse the repository at this point in the history
  • Loading branch information
GleammerRay committed Jan 4, 2024
1 parent cde6e8a commit d48c564
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stockstats.py
Original file line number Diff line number Diff line change
Expand Up @@ -1750,7 +1750,8 @@ def _get_num(self, meta):
decimal_places = 0.0
if (len(split) > 1):
decimal_places_str = split[1]
decimal_places = int(decimal_places_str) * pow(0.1, len(decimal_places_str))
decimal_places = int(decimal_places_str) *
pow(0.1, len(decimal_places_str))
self[meta.name] = meta.int0 + decimal_places

def to_series(self, arr: list):
Expand Down

0 comments on commit d48c564

Please sign in to comment.