Skip to content

Instantly share code, notes, and snippets.

Avatar

Gerwin van Royen Gerwinnz

View GitHub Profile
@Gerwinnz
Gerwinnz / fractionalize_value.js
Last active Aug 18, 2016
Formats a number value into a fraction with optional accuracy
View fractionalize_value.js
/*
|
|
| Formats a number value into a fraction with optional accuracy
|
|
*/
function fractionalizeValue(value, fractions)
{
You can’t perform that action at this time.