Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ruixhuang committed Mar 21, 2024
1 parent 16538b4 commit 9850e0b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class DydxFormatter @Inject constructor() {
val formattedNumber = localFormatted(number.abs(), digits)
return formattedNumber?.let {
val rawDouble = raw(number.toDouble(), digits)?.toDouble() ?: 0.0
if (rawDouble >= 0.0) {
if (rawDouble >= 0.0) {
"$$it"
} else {
"-$$it"
Expand Down

0 comments on commit 9850e0b

Please sign in to comment.