From 8abe053e33c3d3b99d2d069fef11ef9f1402b168 Mon Sep 17 00:00:00 2001 From: Robert Attard Date: Wed, 13 Oct 2021 04:08:46 -0400 Subject: #238 : result returned from int.to_string_base and add int.to_baseN (#239) --- src/gleam_stdlib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gleam_stdlib.js') diff --git a/src/gleam_stdlib.js b/src/gleam_stdlib.js index 158a571..96fa4f1 100644 --- a/src/gleam_stdlib.js +++ b/src/gleam_stdlib.js @@ -54,7 +54,7 @@ export function float_to_string(float) { } export function int_to_base_string(int, base) { - return int.toString(base); + return int.toString(base).toUpperCase(); } export function string_replace(string, target, substitute) { -- cgit v1.2.3