MCPcopy Create free account
hub / github.com/Lobos/react-ui / roundFloat

Function roundFloat

docs/lib/react.js:9385–9387  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

9383var warning = _dereq_(166);
9384
9385function roundFloat(val) {
9386 return Math.floor(val * 100) / 100;
9387}
9388
9389function addValue(obj, key, val) {
9390 obj[key] = (obj[key] || 0) + val;

Callers 1

react.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…