MCPcopy Create free account
hub / github.com/easydiffusion/easydiffusion / round

Function round

ui/media/js/croppr.js:1084–1086  ·  view source on GitHub ↗
(value, decimals)

Source from the content-addressed store, hash-verified

1082 return CropprCore;
1083}();
1084function round(value, decimals) {
1085 return Number(Math.round(value + 'e' + decimals) + 'e-' + decimals);
1086}
1087
1088var Croppr$1 = function (_CropprCore) {
1089 inherits(Croppr, _CropprCore);

Callers 2

croppr.jsFile · 0.85
auto_pick_devicesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected