File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Sources/NumericTextStyles Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public struct _NumericTextStyle<Format: NumericTextFormat>: DiffableTextStyle {
4444 //=------------------------------------------------------------------------=
4545
4646 @inlinable var format : Format {
47- adapter. format
47+ adapter. format. rounded ( . towardZero )
4848 }
4949
5050 @inlinable var scheme : Scheme {
@@ -100,7 +100,7 @@ extension NumericTextStyle {
100100 //=------------------------------------------------------------------------=
101101
102102 @inlinable public func interpret( _ value: Value ) -> Commit < Value > {
103- let style = format. precision ( precision. active ( ) ) . rounded ( . towardZero )
103+ let style = format. precision ( precision. active ( ) )
104104 var value = value
105105 //=--------------------------------------=
106106 // MARK: Autocorrect
You can’t perform that action at this time.
0 commit comments