Leica GPS System 500 GSI16 Manuel D’Utilisation

Page de 49
40
Getting  Started  with  Format  Manager-1.1.0en
Appendix A - The Formatting Options for Export Variables
Floating point variables:  Precision defines the number of decimal
places of the output. The examples below use a fill character of 0
Examples  (using  Easting  of  123456.12345):
Length       Precision
Output
     15
3
00000123456.123
     15
6
00123456.123450
Note that the length of 15 includes the decimal point.
Precision
This  has  different  meaning  for  String and  Integer  variables  and
Floating  point  variables.
String  and  Integer  variables:  Precision  defines  the  maximum
length of the output.
In the examples below, the output is shown for both using
truncation  and  not  using  truncation  is  shown  and  uses  0  as  the
fill character (both truncation and the fill character are explained
later).
Alternate Format
This is a functionality which may be introduced in the future. It has no
function at the present time.
Length
Defines the minimum length of the output. This length includes the
sign (if selected to use) and the decimal point. Applies also to String
and  Integer  export  variables.
Length 0 is not allowed. Maximum length is 20.
See below in the description of Precision  for examples of using the
length.
Examples (using Point ID of 12345678):
Length       Precision
Truncation
Output
      5
0
        No
12345678
      5
0
       Yes
45678
      5
3
        No
00123
      5
3
       Yes
00123
      5
5
        No
12345
      5
5
       Yes
12345
      5
7
        No
1234567
      5
7
       Yes
34567
It can be seen that using the correct length, precision and the
truncation flag, any output can be achieved.
Note how a precision of does not set the maximum
length - the whole string is output (truncated if the
truncation  flag  is  set).
If the length is greater than the precision, the remaining
spaces  are  filled  with  the  fill  character.