I have inserted an opendocument code in a cell on a report. The cell contains Approved/Total Amounts. This results in a decimal which I then format to display as a %.
After entering the opendocument command the contents of the cell are read as a sting. I want to format the cell as a number so I can format it back to a %.
My code is as follows:
="<a href=\"../../../OpenDocument/opendoc/openDocument.jsp?sType=wid&sIDType=CUID&iDocID=AWks9mqYqUZFmV3XyWHpQoI&lsSRegion="+URLEncode(""+[Region])+"&lsSUnit="+URLEncode(""+[Business Operating Unit])+"&lsSSite="+URLEncode(""+[Site])+"&lsSApproved="+URLEncode(""+0)+"\" title=\""+("Approved:"+[Substance - Approved Samples] +" Non Approved: "+Abs([Substance - Approved Samples]-[Substance - Total Sample Count]))+"\" target=\"_blank\" nav=\"web\">"+[Substance - Approved Samples]/[Substance - Total Sample Count]+"</a>"