mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-04 05:39:00 -05:00
fixed fraction issue
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* frac.js (C) 2012-present SheetJS -- http://sheetjs.com */
|
||||
|
||||
/*https://developer.aliyun.com/mirror/npm/package/frac/v/0.3.0 Apache license*/
|
||||
/* https://www.npmjs.com/package/frac Apache license*/
|
||||
export function frac(x, D, mixed) {
|
||||
var n1 = Math.floor(x), d1 = 1;
|
||||
var n2 = n1 + 1, d2 = 1;
|
||||
|
||||
Reference in New Issue
Block a user