From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, January 13, 2006 4:27 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [email protected]
Subject: [qa-features] new/. : function GetDecimalSeperator will be moved frim qa/qatesttool/writer to global

 

Product

QA

Type

new

Title

function GetDecimalSeperator will be moved frim qa/qatesttool/writer to global

Posted by

[EMAIL PROTECTED]

Affected

[EMAIL PROTECTED],qa/qatesttool/global/tools/inc

Effective from

.



API/ BASIC [ ]
Configuration [ ]
File format change [ ]
Help/ Guide [ ]
Performance test [ ]
Translation [ ]
UI relevant [ ]

Description

function GetDecimalSeperator (optional String) as String
Input: Number with fractionmark from 'NumericField' as String
Output: '.' or ',' as string

This function is being used in CALC and WRITER module - but in five
different versions and  function names.

WRITER has more thane one unique function for it. This function will
be enhanced to GRAPHICS and all similar functions in WRITER and CALC
will be exchanged with it.

The function will read in 'Tools' / 'Options' / <Application> /
'General' the tabulator space setting - which includes a number with a
comma or a dot. This will be returned and can be used e.g. for
<object>.settext commands where numbers with comma or dot have to be used.

OPTIONAL you can put a string (e.g. a value of a field which you have
just read out) into the function and it will return a dor or a comma
and you know what the string-value has used as a decimal seperator.

With putting this function to the GLOBAL module we have to maintain
one function in one module and not five in two.

 

Reply via email to