Request of COM_SetDoublePrecision procedure. Creates request for setting the double precision.
The function sets the precision – the number of digits right of the
decimal – when double floating-point values are transmitted. The
default precision is 15 digits. The setting is only valid for the
ASCII transmission mode. Trailing zeroes will not be sent by the
instrument. For example, if ndigits
is set to 3 and the exact
value is 1.99975, the resulting value will be 2.0.
The instrument returns the following responses:
grc
– GeoCOM return code.Property | Values |
---|---|
Instruments | TPS1100, TPS1200, TM30/TS30, TS16 |
ASCII request | %R1Q,107:<ndigits> |
ASCII response | %R1P,0,0:<grc> |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(request_type), | intent(out) | :: | request |
Prepared request. |
||
integer, | intent(in) | :: | ndigits |
Number of digits right to the comma. |