Merged in issue693commadisplay (pull request #249)
ab8bb90·Author: Ed McDonagh·Closed by: Ed McDonagh·2018-11-30
Description
Added filter snippet to set significant figures. From https://djangosnippets.org/snippets/1372/ but edited to deal with "0E-12" and to return a Decimal that can be localised. Refs #693
Updating sigdig to work with negative numbers as pointed out by @dplatten. Thanks! refs #693
Better handling of zero, works for negative numbers. Refs #693
Added filter snippet to set significant figures. From https://djangosnippets.org/snippets/1372/ but edited to deal with "0E-12" and to return a Decimal that can be localised. Refs #693
Updating sigdig to work with negative numbers as pointed out by @dplatten. Thanks! refs #693
Better handling of zero, works for negative numbers. Refs #693
Added ref #693 to changes. [skip ci] docs only