From baf990e65c62f42e45fe25ac385db9536d3f1788 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 27 Apr 2025 16:49:38 -0400 Subject: Update stdlib to use `print` instead of `printf` in all cases. This means bringing in fpconv to do float-to-string conversion and a few updates to integer and number methods for string formatting. --- test/integers.tm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/integers.tm') diff --git a/test/integers.tm b/test/integers.tm index 9fa5ffc2..6ba1559c 100644 --- a/test/integers.tm +++ b/test/integers.tm @@ -39,10 +39,10 @@ func main() = "1,2,3,4,5," >> x := Int64(123) - >> x.format(digits=5) - = "00123" >> x.hex() = "0x7B" + >> x.hex(digits=4) + = "0x007B" >> x.octal() = "0o173" -- cgit v1.2.3