From 42b93b7b534557205a6dc3dfda8fe3cfccfcc458 Mon Sep 17 00:00:00 2001 From: HarmoGlace <23212967+HarmoGlace@users.noreply.github.com> Date: Thu, 20 Apr 2023 16:09:41 +0200 Subject: Add `quo`, `trunc` and `fract` calculation methods and rename `mod` to `rem` (#890) --- tests/typ/compiler/string.typ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/typ/compiler/string.typ') 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") -- cgit v1.2.3