dm_geocom_api_request_set_double_precision Subroutine

public pure subroutine dm_geocom_api_request_set_double_precision(request, ndigits)

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>

Arguments

Type IntentOptional Attributes Name
type(request_type), intent(out) :: request

Prepared request.

integer, intent(in) :: ndigits

Number of digits right to the comma.


Calls

proc~~dm_geocom_api_request_set_double_precision~~CallsGraph proc~dm_geocom_api_request_set_double_precision dm_geocom_api_request_set_double_precision proc~dm_geocom_api_request dm_geocom_api_request proc~dm_geocom_api_request_set_double_precision->proc~dm_geocom_api_request