UNPKG

my_calculator-with_date_time_logging-jalaali

Version:

a simple calculator capable of doing the 4 primary arithmatic operations and also emporing and modulus. it also logs the currrent Date/TimeStamp in Jalaali form on the console by default, which can be disabled or left enabled.

7 lines (5 loc) 221 B
const operationHandler = require("../controller/handler/operation_handler"); function modulo(divided, divisor) { return operationHandler.performOperation(divided, divisor, 'modulo'); } module.exports = modulo;