Format

Tool(s): Label Style, define attribute + Define Cell + Modify Legends, Info

To define a format

  1. On the Context toolbar, click Format.
  2. Select a format.

The following formats are available:

A

Alphanumeric format (text)

 

A23 (‘String_with_length_23’)

 

A1 (‘S’)

 

Maximum: A254

I

Integer format

 

I10 (‘Integer with max. 10 digits’)

 

Maximum: I254

F

Floating-point format

 

e.g. the F10.1 format means:
floating-point value comprised of 10 characters,
of which 1 is for decimal places

 

The value 1234.5678 yields

 

F6.1 -> ‘1234.5’

 

F8.3 -> '1234.567'

 

Note: When floating-point format is used, check that enough digits are available for the results of calculations. Otherwise, is may happen that wrong values are displayed.

G

Exact internal format

 

The G format is a floating-point format.

 

The calculation is based on the exact value (real*8 precision). As in the floating point format, the result is rounded-off.
In the case of reports, the final total can be based on the exact values and not on rounded-off subtotals which are generated from report columns.

W

Currency format

 

The currency format is a floating-point format.

 

The currency format is used for prices, for example: prices are internally saved in euros and converted and displayed in accordance with the Input, output currency setting in the Project Settings dialog box.
A unit must be set.
The number of digits must take the unit specification into account.

K

Elevation format

 

The elevation format was used for elevation specifications in previous versions. The unit was always m.
Depending on the setting for the number of decimal places, mm are formatted as superscript. In addition, the sign (+ or -) is displayed.

 

Note: Formatting options such as Show sign or Last character as superscript can also be set using Dimension.

D

Date format

 

The date format in Allplan is the same as the format set on the Windows Control Panel.
The value after D defines the maximum number of characters of which the date can consist.

 

Note: Check that enough characters are available for long month names when you use the date format.

 

Examples:

 

D30 -> THURSDAY, SEPTEMBER 30, 2005

 

D10 -> 10.06.2005

 

D8 -> 10.6.05

 

Note: Date formats with fewer than eight characters are not displayed.

N

Inch format

 

N15.2 -> 15 characters, max. fraction ½

T

Feet format

 

T10.64 -> 10 characters displayed, max. fraction 1/64

 

T12 -> up to 12 characters displayed, the fraction is based on the setting in the defaults.



(C) Allplan GmbH Privacy policy