From 028ae1ce981cb87d5e9c23a1dd4512d40f2558df Mon Sep 17 00:00:00 2001 From: Bruno Carvalhal Date: Sun, 10 Nov 2024 14:54:34 +0100 Subject: [PATCH] Change output formatting of UNICODE to Number --- base/src/functions/text.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/src/functions/text.rs b/base/src/functions/text.rs index d5756bf..72e4ae7 100644 --- a/base/src/functions/text.rs +++ b/base/src/functions/text.rs @@ -381,7 +381,7 @@ impl Model { } let unicode_number = s.chars().nth(0).unwrap() as u32; - return CalcResult::String(unicode_number.to_string()); + return CalcResult::Number(unicode_number as f64); } CalcResult::new_args_number_error(cell) }