Skip to content

Commit

Permalink
Merge pull request #2644 from get10101/fix/funding-rate-decimal-places
Browse files Browse the repository at this point in the history
Show 4 decimal places on next funding rate
  • Loading branch information
luckysori authored Aug 7, 2024
2 parents ffd8cd2 + f30f609 commit a7e0be4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mobile/lib/features/trade/trade_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ class FundingRateWidget extends StatelessWidget {
style: DefaultTextStyle.of(context).style,
children: [
TextSpan(
text: " ${(rate!.rate.abs() * 100).toStringAsFixed(2)}% ",
text: " ${(rate!.rate.abs() * 100).toStringAsFixed(4)}% ",
style: const TextStyle(fontWeight: FontWeight.bold),
),
TextSpan(
Expand Down

0 comments on commit a7e0be4

Please sign in to comment.