Elisp Pretty Numbers
30 Nov 2011
Here are some elisp functions I cooked up today to make looking at
numbers from within emacs a little more convenient.
First, a function to add a thousands separator to a (possibly floating
point) number:
Usage:
With that function in hand, I wrote a little convenience function to
help maintain sanity while looking at ginourmous numbers:
Usage: put your point on a number and do M-x my-prettify-number
.
Comments
blog comments powered by