07.05.2014 Views

The Microsoft Excel File Format - OpenOffice.org

The Microsoft Excel File Format - OpenOffice.org

The Microsoft Excel File Format - OpenOffice.org

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3 Formulas<br />

3.5 Unary Operator Tokens<br />

Unary operators perform an operation with the topmost operand from stack. <strong>The</strong> tokens do not contain any additional<br />

data.<br />

3.5.1 tUplus (12 H )<br />

Unary plus operator. This operator has no effect on the operand. Operand class: value.<br />

Token tUplus, BIFF2-BIFF8:<br />

Offset Size Contents<br />

0 1 12 H<br />

Example: +A1 returns the value of cell A1.<br />

3.5.2 tUminus (13 H )<br />

Unary minus operator. Negates the operand. Operand class: value.<br />

Token tUminus, BIFF2-BIFF8:<br />

Offset Size Contents<br />

0 1 13 H<br />

Example: -A1 returns the negated value of cell A1.<br />

3.5.3 tPercent (14 H )<br />

Percent sign. Divides the operand by 100. Operand class: value.<br />

Token tPercent, BIFF2-BIFF8:<br />

Offset Size Contents<br />

0 1 14 H<br />

Example: 1% returns 0.01.<br />

44

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!