From 6a8536ee6e8ac0d609603f23f21993b9bd5761f6 Mon Sep 17 00:00:00 2001 From: Brad Howes Date: Thu, 28 Nov 2024 23:32:56 +0100 Subject: [PATCH] Fix formatting of depth values --- Packages/Sources/Parameters/Parameters.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/Sources/Parameters/Parameters.swift b/Packages/Sources/Parameters/Parameters.swift index 60b938f..31417a3 100644 --- a/Packages/Sources/Parameters/Parameters.swift +++ b/Packages/Sources/Parameters/Parameters.swift @@ -140,7 +140,7 @@ extension AUParameter: @retroactive AUParameterFormatting { /// Obtain a closure that will format parameter values into a string public var stringFormatForDisplayValue: String { switch self.parameterAddress { - case .depth, .feedback, .dry, .wet: return "%.0f" + case .feedback, .dry, .wet: return "%.0f" default: return "%.2f" } }