UNPKG

cnum

Version:

Represent rational numbers in comfortably numeric way.

8 lines (7 loc) 222 B
declare class cnum { static get version(): string; static evaluate(expression: string): string; } export default cnum; export { Rat, floatToRat, parseRat } from './Rat'; export { Polyrat } from './Polyrat';