bin/maths in maths-0.0.8 vs bin/maths in maths-0.0.9
- old
+ new
@@ -22,10 +22,10 @@
if command == "vars" || command == "variables"
puts
puts "Defined Variables:"
Maths::Brain.read.each do |key, value|
- puts "#{key}: #{value}"
+ puts "#{key}: #{Maths::Formatter.format(BigDecimal.new(value.to_s))}"
end
puts
else
begin
result = parser.parse(command)
\ No newline at end of file