Pridan fotoeditor
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
export const roundWithPrecision = (number, precision) => {
|
||||
const factor = Math.pow(10, precision);
|
||||
return Math.round(number * factor) / factor;
|
||||
}
|
||||
Reference in New Issue
Block a user