16.02.2014 Views

Download - SoftMaker

Download - SoftMaker

Download - SoftMaker

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Formatting and rounding calculations<br />

With the command Insert > Calculation, you can not only enter new calculations<br />

(see section “Inserting calculations”) and edit existing ones, but also specify the<br />

format of the calculation’s result.<br />

You can set the format already when you enter a new calculation, or you can do<br />

this at any time afterwards by selecting the calculation and invoking Insert ><br />

Calculation.<br />

The following options in the dialog box determine the format of the calculation:<br />

Thousands separator<br />

If you enable this option, numbers 1000 and above are represented with thousands<br />

separators. For example, 1230000 is shown as 1,230,000.<br />

Hide result<br />

If you choose this option, the result of the calculation is not visible in the text.<br />

This makes sense when, for example, you want to perform intermediate calculations<br />

with variables and do not want to show the results.<br />

Note: To make a hidden calculation visible again, invoke the command File ><br />

Properties, change the View property sheet and activate the Display field<br />

names option. Now you can select the calculation again, invoke Insert > Calculation<br />

and disable the Hide result option.<br />

Decimal places<br />

With the default setting Floating, as many decimal places are shown as are<br />

required to represent fully the result of the calculation. You can select instead<br />

the Fixed option and enter a fixed number of decimal places to be shown. For<br />

monetary amounts, for example, the number of decimal places should be fixed<br />

at 2.<br />

Attention: The value is not actually rounded by setting a fixed number of<br />

decimal places; only its representation is rounded (see below)!<br />

Actually rounding variables<br />

It is essential to note that the option for setting the number of decimal places just<br />

described changes only the way the results of a calculation are displayed. In reality,<br />

the variable retains its original precision.<br />

368 Calculations in the text Manual TextMaker

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

Saved successfully!

Ooh no, something went wrong!