lib/cryptum/ui/ticker.rb in cryptum-0.0.260 vs lib/cryptum/ui/ticker.rb in cryptum-0.0.261

- old
+ new

@@ -34,10 +34,10 @@ order_book[:sequence] = sequence open_24h = event[:open_24h].to_f order_book[:open_24h] = open_24h - open_24h_out = "#{Cryptum.open_symbol} #{fiat_symbol}#{format("%0.#{fiat_smallest_decimal}f", open_24h)}" + open_24h_out = "#{Cryptum.open_symbol} #{fiat_symbol}#{Cryptum.beautify_large_number(value: format("%0.#{fiat_smallest_decimal}f", open_24h))}" beautify_ticker = Cryptum.beautify_large_number( value: format("%0.#{fiat_smallest_decimal}f", event[:price].to_f) ) ticker_fmt = "#{fiat_symbol}#{beautify_ticker}"