Skip to content

Commit

Permalink
Merge pull request #59 from tsutaj/feature
Browse files Browse the repository at this point in the history
v1.4.3-release
  • Loading branch information
tsutaj authored Aug 21, 2021
2 parents 780a5c2 + b529beb commit 6d69cb9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

- Pull Request は **`develop` ブランチをターゲットブランチにして** 発行してください
- 意味がよくわからない場合は、こちらで設定するので気にしないでください
- 可能な限り、対応する Issues へのリンクを示してください
- 作業に関連する Issues が存在する場合は、可能な限り Issues へのリンクを示してください
- Issue 番号 `XXX` に対する PR である場合、概要欄のどこかに `ref: #XXX` と書いてあるとわかりやすいです

## 開発環境の準備
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name="statements-manager",
version="1.4.2",
version="1.4.3",
author="Yuya Sugie",
author_email="[email protected]",
url="https://github.com/tsutaj/statements-manager",
Expand Down
4 changes: 2 additions & 2 deletions statements_manager/src/variables_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ def to_string(self, value: Any) -> str:
if value == 10 ** k:
return f"10^{{{k}}}"
elif value % (10 ** k) == 0:
return f"{value // 10 ** k} \times 10^{{{k}}}"
return f"{value // 10 ** k} \\times 10^{{{k}}}"
else:
return f"{value / 10 ** k} \times 10^{{{k}}}"
return f"{value / 10 ** k} \\times 10^{{{k}}}"
else:
return format(value, ",").replace(",", "{,}")
else:
Expand Down

0 comments on commit 6d69cb9

Please sign in to comment.