diff options
| author | HarmoGlace <23212967+HarmoGlace@users.noreply.github.com> | 2023-04-20 16:09:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-20 16:09:41 +0200 |
| commit | 42b93b7b534557205a6dc3dfda8fe3cfccfcc458 (patch) | |
| tree | 924171b6c1299fef0b628e0ac8c89c5775fea8be /tests/typ/compiler/string.typ | |
| parent | c117e2dc276d19b022abccac0d252bd7fc1cd44e (diff) | |
Add `quo`, `trunc` and `fract` calculation methods and rename `mod` to `rem` (#890)
Diffstat (limited to 'tests/typ/compiler/string.typ')
| -rw-r--r-- | tests/typ/compiler/string.typ | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/typ/compiler/string.typ b/tests/typ/compiler/string.typ index 95e204c5..2f7ba9ec 100644 --- a/tests/typ/compiler/string.typ +++ b/tests/typ/compiler/string.typ @@ -103,7 +103,7 @@ let caps = match.captures time += 60 * int(caps.at(0)) + int(caps.at(1)) } - str(int(time / 60)) + ":" + str(calc.mod(time, 60)) + str(int(time / 60)) + ":" + str(calc.rem(time, 60)) } #test(timesum(""), "0:0") |
