Skip to content
#

immutable

Here are 719 public repositories matching this topic...

jonasesr
jonasesr commented Dec 4, 2019

Currently there is no possibility to set up a custom rounding function. Therefore you are limited to the ones that are implemented by default. For my case I need a rounding function that always rounds up (e.g. 0.002 => 0.01 with precision 2, commercial rounding)

It would be nice to pass a callback or a string that describes the rounding mode. If it is a string and the string matches the suppo

Improve this page

Add a description, image, and links to the immutable topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the immutable topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.