1.0.1 • Published 1 year ago

react-avg-calcy v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Make avg from react-avg-calcy

This is the simple average calculator made by me, here is the way how to use it.

Add to your project

You can just install it by using the command

  npm i react-avg-calcy

How to use

Need to import in your application

  import avgCalcy from 'react-avg-calcy'

Need to provide total number and achieved number as a parameter

  let avg = avgCalcy(100,20) // it returns 20 (in the form of percentage)
1.0.1

1 year ago

1.0.0

1 year ago