View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
07277 | Bug reports | Expression Manager | public | 2013-02-07 13:16 | 2013-02-13 22:11 |
Reporter | camills | Assigned To | DenisChenu | ||
Priority | urgent | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.00+ | ||||
Summary | 07277: log(xx) seems to return an incorrect value | ||||
Description | using the log function returns incorrect values | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 130129 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | chrome | ||||
Database type & version | SQL | ||||
Server OS (if known) | LINUX | ||||
Webserver software & version (if known) | Apache 2.2.23 | ||||
PHP Version | 5.2.17 | ||||
Here is some additional feedback. Seems like one can reproduce the problem by comparing the LS log() results with Excel's log() function: |
|
Seems using ln and not log ... |
|
Not really a bug: it's default behaviour for php log AND for javascript log. And: Question :
Atually, you can do |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=11576 |
|
Actually:
|
|
Fix committed to 2.1 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=11610 |
|
Documentaion updated too. The logarithm of number to base, if given, or the natural logarithm. |
|
New build 130213 released. |
|
LimeSurvey: master e6626643 2013-02-07 16:06 Details Diff |
Fixed issue 07277: log(xx) seems to return an incorrect value Dev: add optionnal setting to log for base. |
Affected Issues 07277 |
|
mod - application/helpers/expressions/em_core_helper.php | Diff File | ||
mod - scripts/expressions/em_javascript.js | Diff File | ||
LimeSurvey: 2.1 35913f4b 2013-02-09 17:41 Details Diff |
Fixed issue 07277: log(xx) seems to return an incorrect value Dev: add optionnal setting to log for base. |
Affected Issues 07277 |
|
mod - application/helpers/expressions/em_core_helper.php | Diff File | ||
mod - scripts/expressions/em_javascript.js | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-02-07 13:16 | camills | New Issue | |
2013-02-07 13:16 | camills | File Added: logsurvey.lss | |
2013-02-07 13:47 | Mazi | Assigned To | => DenisChenu |
2013-02-07 13:47 | Mazi | Status | new => assigned |
2013-02-07 13:49 | Mazi | Note Added: 23987 | |
2013-02-07 14:10 | DenisChenu | Note Added: 23988 | |
2013-02-07 14:14 | Mazi | Issue Monitored: TMSWhite | |
2013-02-07 14:27 | DenisChenu | Note Added: 23989 | |
2013-02-07 16:09 | DenisChenu | Changeset attached | => LimeSurvey master e6626643 |
2013-02-07 16:09 | DenisChenu | Note Added: 23990 | |
2013-02-07 16:09 | DenisChenu | Resolution | open => fixed |
2013-02-07 17:02 | DenisChenu | Note Added: 23991 | |
2013-02-09 17:45 | DenisChenu | Changeset attached | => LimeSurvey 2.1 35913f4b |
2013-02-09 17:45 | DenisChenu | Note Added: 24019 | |
2013-02-09 17:46 | DenisChenu | Note Added: 24020 | |
2013-02-09 17:46 | DenisChenu | Status | assigned => resolved |
2013-02-09 17:46 | DenisChenu | Fixed in Version | => 2.10 |
2013-02-13 22:11 | c_schmitz | Note Added: 24061 | |
2013-02-13 22:11 | c_schmitz | Status | resolved => closed |
2021-08-08 01:25 | guest | Bug heat | 6 => 8 |