Skip to content

Commit

Permalink
Merge pull request #8 from hybridknight/main
Browse files Browse the repository at this point in the history
  • Loading branch information
narze authored Oct 12, 2021
2 parents 49c093f + 931ffb7 commit bd65a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function convert(input: number | string): string | boolean {
}
baht = Math.floor(input);
satang = Number.isInteger(input) ? 0 : Math.floor((input * 100) % 100);
bahtStr = baht.toString();
bahtStr = '' + baht;
} else if (typeof input === 'string') {
let inputNum = Number(input);

Expand Down

0 comments on commit bd65a69

Please sign in to comment.