summaryrefslogtreecommitdiff
path: root/svtools/inc/zforfind.hxx
diff options
context:
space:
mode:
authorEike Rathke <er@openoffice.org>2001-05-04 15:31:14 +0000
committerEike Rathke <er@openoffice.org>2001-05-04 15:31:14 +0000
commitdfb5b2600951a1a3f74663eb01e7bb107d0fcfe5 (patch)
tree0ef22604636a79762fa552e241a49796387ddcb5 /svtools/inc/zforfind.hxx
parent0e079b2ccfc3510095ecaae0632ba556720d5537 (diff)
StringToDouble with bForceFraction
Diffstat (limited to 'svtools/inc/zforfind.hxx')
-rw-r--r--svtools/inc/zforfind.hxx14
1 files changed, 10 insertions, 4 deletions
diff --git a/svtools/inc/zforfind.hxx b/svtools/inc/zforfind.hxx
index 97ea3e85ee4f..e5aa0e608303 100644
--- a/svtools/inc/zforfind.hxx
+++ b/svtools/inc/zforfind.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: zforfind.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: er $ $Date: 2000-11-18 21:46:08 $
+ * last change: $Author: er $ $Date: 2001-05-04 16:31:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -152,8 +152,14 @@ private:
void InitText(); // Init of months and days of week
- double StringToDouble( // Convert string to double
- const String& rStr );
+ // Convert string to double.
+ // Only simple unsigned floating point values without any error detection,
+ // decimal separator has to be '.'
+ // If bForceFraction==TRUE the string is taken to be the fractional part
+ // of 0.1234 without the leading 0. (thus being just "1234").
+ double StringToDouble(
+ const String& rStr,
+ BOOL bForceFraction = FALSE );
BOOL NextNumberStringSymbol( // Next number/string symbol
const sal_Unicode*& pStr,