diff options
author | Laurent Balland-Poirier <laurent.balland-poirier@laposte.net> | 2015-03-17 10:53:31 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-03-23 09:21:59 +0000 |
commit | 86a318ce629fbddb442f8f8ca762eeb3a51c9c6e (patch) | |
tree | df27d7468f2785218c68ce4503bd7131a2620766 /basic | |
parent | c42f4d03a846c2dec379aec52da9c959848b5e52 (diff) |
tdf#30716 Engineering notation
Implement engineering notation: fomat ##0.00E+00 for instance
Saved in ODF thanks to https://gerrit.libreoffice.org/14875/
Change-Id: I1e401183a95ce05481a9af52e49bbcfe08cd1a20
Reviewed-on: https://gerrit.libreoffice.org/14886
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/qa/vba_tests/format.vb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/qa/vba_tests/format.vb b/basic/qa/vba_tests/format.vb index b4f19281ba25..54b5610851aa 100644 --- a/basic/qa/vba_tests/format.vb +++ b/basic/qa/vba_tests/format.vb @@ -296,8 +296,8 @@ Sub Custom_Number_Format_Sample() TestLog_ASSERT TestStr = "1,000,000", "#,###: " & TestStr 'MsgBox TestStr - TestStr = Format(1.09837555, "######E-###") '109838E-5 - TestLog_ASSERT TestStr = "109838E-5", "######E-###: " & TestStr + TestStr = Format(1.09837555, "######E-###") '109838E-5 => 1E0 with engineering notation + TestLog_ASSERT TestStr = "1E0", "######E-###: " & TestStr 'MsgBox TestStr TestStr = Format(2345.25, "$#,###.##") '$2.345.25 |