NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item11383 for general documentation changes for release 1.1.5. Use Item9693 for docu changes for release 2.0.

Item8237: comma and CALC

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Confirmed Extension SpreadSheetPlugin  
%CALC% seems to have a problem with values that have a "," inside. I often use %CALC{$IF(condition,var1,var2)}% to filter the output of a %SEARCH%. If the condition is false and var1 contains a "," then the part after the "," of var1 is printed. Thats a big mess for tabels, because the numbers of rows is usually to low (just half of the output). Most of the time I try to use the function in with an output only of condition is wrong and var1="". That works if I want to have a simple decision "ouput or no output", but itīs a problem for "output1 or output2".

So there should be a feature that I can prevent var1 to be literaly put into the $IF()-function, so the "," is not interpreted by this function.

This problem my be related to Item411

-- HolgerHain - 12 Aug 2009

Indeed it does. Confirmed.

-- CrawfordCurrie - 08 Sep 2010

 

ItemTemplate edit

Summary comma and CALC
ReportedBy HolgerHain
Codebase 1.0.5
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component SpreadSheetPlugin
Priority Normal
CurrentState Confirmed
WaitingFor
Checkins
ReleasedIn n/a
Topic revision: r4 - 13 Mar 2011 - 04:38:23 - GeorgeClark
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads