Skip to content

Replaces javascript's built-in multiplication. Use for numbers with decimals to avoid floating point errors.

Notifications You must be signed in to change notification settings

joeylevy/multiply

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Javascript is weird about multiplying decimals. We can do better by removing the decimals, multiplying, then re-adding the decimal place.

Use this instead of built in multiplication.

About

Replaces javascript's built-in multiplication. Use for numbers with decimals to avoid floating point errors.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published