Skip to content

Commit

Permalink
Fix formatting of depth values
Browse files Browse the repository at this point in the history
  • Loading branch information
bradhowes committed Nov 28, 2024
1 parent 990b12f commit 6a8536e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Packages/Sources/Parameters/Parameters.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
Expand Down

0 comments on commit 6a8536e

Please sign in to comment.