calc mode in emacs does this (and so much more). -- Eric S Fraga via Emacs 27.0.50 & org 9.1.13 on Debian 9.4