From 2ef02142487d3e64692b6fba33cf89c219501a10 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 15 Feb 2015 11:24:24 -0500 Subject: [PATCH] TW-1542 - TW-1542 Large numeric UDA values get rendered in scientific notation on export (thanks to Ralph Bean). --- ChangeLog | 2 ++ src/Task.cpp | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index d685d8baa..025fb89e4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -38,6 +38,8 @@ Hachimura). - TW-1534 Urgency coefficient for user project disables 'info' output (thanks to Martin). +- TW-1542 Large numeric UDA values get rendered in scientific notation on export + (thanks to Ralph Bean). - Fixed assorted color theme problems. - Changed assorted reports so they do not use '.age' format for dates that are in the future, because those are never shown with this format (thanks to diff --git a/src/Task.cpp b/src/Task.cpp index de02116e4..0a58455b7 100644 --- a/src/Task.cpp +++ b/src/Task.cpp @@ -2080,9 +2080,6 @@ void Task::modify (modType type, bool text_required /* = false */) if (v.type () == Variant::type_string) throw format (STRING_UDA_NUMERIC, v.get_string ()); - v.cast (Variant::type_real); - v.cast (Variant::type_string); - set (name, v); ++modCount; }