OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

# office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: [OASIS Issue Tracker] Commented: (OFFICE-2344) 3.4 Complex Number -conversion to complex

• From: OASIS Issues Tracker <workgroup_mailer@lists.oasis-open.org>
• To: office@lists.oasis-open.org
• Date: Wed, 27 Jan 2010 16:49:15 -0500 (EST)

```
[ http://tools.oasis-open.org/issues/browse/OFFICE-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17576#action_17576 ]

Andreas Guelzow  commented on OFFICE-2344:
------------------------------------------

COMPLEX does not accept text values. The example is about IMSUM. It would probably be clearer to say that
'=IMSUM("3i";4)' produces the same value as '=IMSUM("3i";"4")'
(and the value they produce happens to be teh same vale as COMPLEX(4,3).
so the number 4 and the text "4" are converted tot he same complex number.

> 3.4 Complex Number - conversion to complex
> ------------------------------------------
>
>                 Key: OFFICE-2344
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-2344
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>          Components: OpenFormula
>    Affects Versions: ODF 1.2 Part 2 CD 1
>            Reporter: Patrick Durusau
>
> The fourth paragraph under 3.4 Complex Number reads:
> ***
> Note that functions and operators that accept complex numbers shall accept Text values as complex numbers (see the section on convert to complex), as well as Numbers that are not complex numbers, so IMSUM("3i";4) will produce the same result as COMPLEX(4;3).
> ***
> If Text and Number values are automatically converted, then how does COMPLEX() accept Text values?
> By the time the value reaches COMPLEX() it is a complex number.
> Yes?

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-