Issue 75286 - Help on Int() is wrong and not consistent with Fix()
Summary: Help on Int() is wrong and not consistent with Fix()
Status: ACCEPTED
Alias: None
Product: App Dev
Classification: Unclassified
Component: scripting (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows XP
: P5 (lowest) Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2007-03-11 12:24 UTC by catkin
Modified: 2017-05-20 11:27 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description catkin 2007-03-11 12:24:58 UTC
Hello  :-)

A) In the Help on Int() the description is wrong.  

B) The Help on Int() and Fix() describes identical usages differently.

==========

A) The Int() function is wrongly described: "Returns the integer portion of a 
number.".  It should be something like "Returns the first integer less than or 
equal to the numeric expression."

[The Fix() description could be clarified (?) to "Returns the numeric 
expression with any fractional part removed."]

==========

B) Here are the diferent descriptions of identical usages with suggestions

Syntax
Int():  Int(Number)
Fix():  Fix(Expression)
Suggestion:  <Function Name>(Numeric Expression)

Parameters
Int():  Any valid numeric expression. Rounds the fractional part of the number 
and returns the integer value.
Fix():  Numeric expression that you want to return the integer value for. 
Suggestion:  Numeric expression that will fit in a Double after conversion.

Best

Charles
Comment 1 kpalagin 2007-03-18 03:40:37 UTC
Help for Int seems to be changed to 
"INT
Rounds a number down to the nearest integer."

Neither Help not Function Wizard show function named "Fix".
Please clarify.
Comment 2 catkin 2007-03-18 05:19:04 UTC
There are several paths to these help texts.  Here's one:

1. Start OpenOffice.org Writer

2. F1

3. Contents, "Macros and Programming", "Command Reference", "Alphabetic List 
of Functions, Statements and, Operators" then "Fix Function[Runtime]" and "Int 
Function[Runtime]"
Comment 3 kpalagin 2007-03-18 14:26:46 UTC
Confirming that help for Fix function could be clarified.
Comment 4 catkin 2007-03-18 15:47:26 UTC
We may be at cross purposes here.  Perhaps OOoQA was looking at a different 
product or version.  The issue is about OOo 2.1 Basic (scripting) Help.  Much 
of the report was cut-and-pasted from that Help.

OOoQA found Help for Int() "seems to be changed" and could not find Help for 
Fix().  How could that happen if we were examining the same product and 
version?
Comment 5 noel.power 2007-03-22 10:27:12 UTC
-> ab any idea?
Comment 6 ab 2007-03-23 08:11:21 UTC
STARTED
I will check and forward to documentation
Comment 7 ab 2007-03-23 09:18:40 UTC
OOo 2.x
Comment 8 Mathias_Bauer 2007-12-04 14:57:31 UTC
basic and scripting issues now should be assigned to component "scripting"
Comment 9 Martin Hollmichel 2007-12-07 12:13:31 UTC
set target to 3.x according to http://wiki.services.openoffice.org/wiki/Target_3x
Comment 10 Marcus 2017-05-20 11:27:37 UTC
Reset assigne to the default "issues@openoffice.apache.org".