@billogram/round-to

A function for rounding a numeric value

Usage no npm install needed!

<script type="module">
  import billogramRoundTo from 'https://cdn.skypack.dev/@billogram/round-to';
</script>

README

@billogram/round-to

A function for rounding a numeric value

Install

yarn add @billogram/round-to

Usage

import roundTo from '@billogram/round-to';

roundTo

roundTo(value);

Note

This library is being published with our use cases in mind and is not necessarily meant to be consumed by the broader public. We probably won't take your feature requests unless they align with our own needs.

License

MIT