lib/cryptum/ui/portfolio.rb in cryptum-0.0.300 vs lib/cryptum/ui/portfolio.rb in cryptum-0.0.301

- old
+ new

@@ -93,12 +93,16 @@ current_fiat_invested_percent = format( '%0.2f', (1 - (fiat_budget / total_holdings.to_f)) * 100 ) + # crypto_invested_percent = format( + # '%0.2f', + # (current_crypto_fiat_value.to_f / total_holdings.to_f) * 100 + # ) crypto_invested_percent = format( '%0.2f', - (current_crypto_fiat_value.to_f / total_holdings.to_f) * 100 + current_crypto_fiat_value.to_f.fdiv(total_holdings.to_f) * 100 ) # TODO: Everything Above this Line Needs to be Indicators ^ # UI col_just3 = (Curses.cols - Cryptum::UI.col_third) - 1