New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fracty

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fracty - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

.gitattributes

11

package.json
{
"name": "fracty",
"version": "1.0.6",
"version": "1.0.7",
"description": "Fracty is a decimal-to-fraction conversion module that solves the many well known problems with decimal-to-fraction conversion modules. Those common problems include overlooking conversion inaccuracies in the IEEE Standard for Floating-Point Arithmetic (IEEE 754), mishandling numbers with trailing repeat patterns, and incorrect or partial pattern recognition. Fracty simply takes one argument, a number without any rounding and, in keeping with the most standard numbering conventions of monetary divisibility, etc., imagines that any trailing repeating patterns beyond two decimal places continue infinitely, and returns that input as a string of the fully reduced fraction equivalent.",

@@ -10,5 +10,12 @@ "main": "fracty.js",

},
"keywords": ["fraction", "decimal", "conversion", "fractional", "floating-point", "IEEE 754"],
"keywords": [
"fraction",
"decimal",
"conversion",
"fractional",
"floating-point",
"IEEE 754"
],
"author": "David H.",
"license": "MIT"
}

5

readme.md
# Fracty
Fracty is a decimal-to-fraction conversion module that solves the many well known problems with decimal-to-fraction conversion modules. Those common problems include overlooking conversion inaccuracies in the IEEE Standard for Floating-Point Arithmetic (IEEE 754), mishandling numbers with trailing repeat patterns, and incorrect or partial pattern recognition.
 
<img src="https://user-images.githubusercontent.com/45696445/51096139-5a54aa80-1788-11e9-9555-c1ec0635f483.gif">
_________________________
## API

@@ -5,0 +8,0 @@ ### fracty(`number`)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc