determine_decimals_from_ticks Function

public function determine_decimals_from_ticks(tick_positions, n) result(decimal_places)

Determine decimal places from an array of tick positions. Uses the smallest non-zero spacing as representative step.

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: tick_positions(:)
integer, intent(in) :: n

Return Value integer