From 2fb9b65652d80d5a9640d0bed3cbbde897957539 Mon Sep 17 00:00:00 2001 From: Henry Date: Thu, 7 Apr 2016 11:14:02 -0700 Subject: [PATCH] Made comment a little more accurate --- .../features/table/src/controllers/MCTTableController.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/platform/features/table/src/controllers/MCTTableController.js b/platform/features/table/src/controllers/MCTTableController.js index 2fe7fc1ba6..a90d660f3c 100644 --- a/platform/features/table/src/controllers/MCTTableController.js +++ b/platform/features/table/src/controllers/MCTTableController.js @@ -296,11 +296,12 @@ define( }; /** - * Given a value, if it can be coerced to a number, then return a - * number representation. It's a little more robust than using just + * Given a value, if it is a number, or a string representation of a + * number, then return a number representation. Otherwise, return + * the original value. It's a little more robust than using just * Number() or parseFloat, or isNaN in isolation, all of which are * fairly inconsistent in their results. - * @param value The value to cast (if possible) + * @param value The value to return as a number. * @returns {*} The value cast to a Number, or the original value if * a Number representation is not possible. */