Skip to content

Commit

Permalink
Merge pull request #37 from ImMin5/master
Browse files Browse the repository at this point in the history
Fix float number convert
  • Loading branch information
ImMin5 authored Oct 31, 2023
2 parents 780d63e + f72f408 commit abbc5a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

_LOGGER = logging.getLogger(__name__)

_PAGE_SIZE = 2000
_PAGE_SIZE = 4000


class AzureCostMgmtConnector(BaseConnector):
Expand Down
2 changes: 1 addition & 1 deletion src/cloudforet/cost_analysis/manager/cost_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def _set_product_from_benefit_name(benefit_name):

@staticmethod
def _convert_str_to_float_format(num_str: str):
return format(float(num_str), 'f')
return float(num_str)

@staticmethod
def _set_billed_date(start):
Expand Down

0 comments on commit abbc5a7

Please sign in to comment.