This is an automated email from the ASF dual-hosted git repository.
kevingurney pushed a commit to branch matlab
in repository https://gitbox.apache.org/repos/asf/arrow-experiments.git
The following commit(s) were added to refs/heads/matlab by this push:
new f8d0f29 Fix time string formatting to always include two decimal
places.
f8d0f29 is described below
commit f8d0f299c4c2289c657a26587b09f1c120273311
Author: Kevin Gurney <[email protected]>
AuthorDate: Wed Jan 22 12:07:41 2025 -0500
Fix time string formatting to always include two decimal places.
---
http/get_simple/matlab/client.m | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/http/get_simple/matlab/client.m b/http/get_simple/matlab/client.m
index 046ea0e..9364da4 100644
--- a/http/get_simple/matlab/client.m
+++ b/http/get_simple/matlab/client.m
@@ -50,7 +50,7 @@ disp("DONE ✔");
disp("---------------");
disp("Results")
disp("---------------");
-disp("Time (s): " + string(time));
+disp("Time (s): " + sprintf("%.2f", time));
disp("Num Bytes: " + string(nbytes));
disp("Num Rows:" + string(arrowTable.NumRows));
-disp("Num Columns:" + string(arrowTable.NumColumns));
\ No newline at end of file
+disp("Num Columns:" + string(arrowTable.NumColumns));