Reduce a fraction to its simplest form
import { number } from "@rjweb/utils"number.reduce(5, 10) // [1, 2]number.reduce(10, 15) // [2, 3] Copy
import { number } from "@rjweb/utils"number.reduce(5, 10) // [1, 2]number.reduce(10, 15) // [2, 3]
1.12.18
nodejs, browser
Reduce a fraction to its simplest form