How to remove decimals from bins

Updated at August 20th, 2021

Custom bins are lower-inclusive and you might see decimals in your ranges. 


Add the "epsilon" attribute

To remove decimals is to add the "epsilon" attribute to the element's JSON. In mathematics epsilon represents an arbitrarily small quantity. Setting "epsilon" to 1 will remove any decimals from the binned ranges. 


The result:


Was this article helpful?