Skip to content

TCIA-843#13

Draft
OptimusOpus wants to merge 3 commits into
mainfrom
TCIA-843-3
Draft

TCIA-843#13
OptimusOpus wants to merge 3 commits into
mainfrom
TCIA-843-3

Conversation

@OptimusOpus

Copy link
Copy Markdown
Collaborator

No description provided.

@OptimusOpus OptimusOpus requested a review from bazmatic January 9, 2024 06:37
Comment thread src/bigunit.ts
public fraction(numerator: number, denominator: number): BigUnit {
if (isNaN(numerator) || isNaN(denominator)) {
public fraction(numerator: BigUnitish, denominator: BigUnitish): BigUnit {
const numeratorNumber = Number(numerator);

@bazmatic bazmatic Jan 9, 2024

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to do any number checking now... but you can't necessarily cast BigUnitish into number anyway

@OptimusOpus OptimusOpus marked this pull request as draft January 9, 2024 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants