Running sophisticated mathematical calculations on native thread
npm install react-native-mathematics # or yarn add react-native-mathematics
import Mathematics from "react-native-mathematics";
// ...
const result = await Mathematics.calculate({
addition: {
formula: "a+b",
values: {
a: 5,
b: 10
},
},
});
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT