You can always treat fractions as division for example in bc:
Code:
$ bc
bc 1.07.1
Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006, 2008, 2012-2017 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
scale=3
2/5
.400
5/8
.625
2/5+5/8
1.025
quit
$
If you are not sure in which order bc is doing the calculations in a complex expression, think PEMDAS, and use parenthesis to make things evident.
You can also use a spreadsheet program, for example LibreOffice Calc or Gnumeric.
You can also treat fractions as division in gnome-calculator, just like I do above in bc.
Or do you want to do algebra (symbolic operations) and/or get the result as a fraction too?
Bookmarks